Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001314/0.001314, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001429/0.001429, allocations: 193.8 kB / 16.14 MB, free: 6.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002706/0.002707, allocations: 283 kB / 290.2 MB, free: 2.188 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.09/1.09, allocations: 178.6 MB / 0.5068 GB, free: 4.805 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002737/0.002737, allocations: 102.5 kB / 0.6057 GB, free: 25.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1631/0.1659, allocations: 89.15 MB / 0.6928 GB, free: 4.84 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized): time 0.002133/0.1681, allocations: 0.6517 MB / 0.6934 GB, free: 4.188 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003731/0.1685, allocations: 104.2 kB / 0.6935 GB, free: 4.086 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.18e-05/0.1685, allocations: 1.781 kB / 0.6935 GB, free: 4.086 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.478e-05/0.1685, allocations: 0 / 0.6935 GB, free: 4.086 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.234e-05/0.1686, allocations: 0 / 0.6935 GB, free: 4.086 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001853/0.1688, allocations: 11.92 kB / 0.6935 GB, free: 4.074 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.588e-05/0.1688, allocations: 10.56 kB / 0.6936 GB, free: 4.066 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.298e-05/0.1689, allocations: 8 kB / 0.6936 GB, free: 4.059 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.93e-05/0.1689, allocations: 0 / 0.6936 GB, free: 4.059 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.924e-05/0.169, allocations: 11.97 kB / 0.6936 GB, free: 4.047 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.374e-05/0.169, allocations: 0 / 0.6936 GB, free: 4.047 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.605e-05/0.1691, allocations: 19.98 kB / 0.6936 GB, free: 4.027 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.376e-05/0.1691, allocations: 0 / 0.6936 GB, free: 4.027 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.869e-05/0.1691, allocations: 4.719 kB / 0.6936 GB, free: 4.023 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.014e-05/0.1692, allocations: 11.98 kB / 0.6936 GB, free: 4.012 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.1693, allocations: 1.719 kB / 0.6936 GB, free: 4.012 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.905e-06/0.1693, allocations: 4 kB / 0.6936 GB, free: 4.008 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.388e-06/0.1693, allocations: 0 / 0.6936 GB, free: 4.008 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004225/0.1697, allocations: 323.6 kB / 0.6939 GB, free: 3.641 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.1697, allocations: 8.031 kB / 0.6939 GB, free: 3.633 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001613/0.1699, allocations: 16.92 kB / 0.694 GB, free: 3.617 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001223/0.17, allocations: 160.4 kB / 0.6941 GB, free: 3.422 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.728e-05/0.1701, allocations: 384 / 0.6941 GB, free: 3.422 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.079e-05/0.1701, allocations: 384 / 0.6941 GB, free: 3.422 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001375/0.1702, allocations: 46.19 kB / 0.6941 GB, free: 3.371 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.1702, allocations: 192 / 0.6941 GB, free: 3.371 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.1703, allocations: 3.938 kB / 0.6942 GB, free: 3.367 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.1703, allocations: 4 kB / 0.6942 GB, free: 3.363 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.487e-05/0.1704, allocations: 15.92 kB / 0.6942 GB, free: 3.348 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001812/0.1705, allocations: 150 kB / 0.6943 GB, free: 3.152 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001996/0.1708, allocations: 42.59 kB / 0.6944 GB, free: 3.102 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.114e-05/0.1708, allocations: 12.92 kB / 0.6944 GB, free: 3.086 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.809e-05/0.1708, allocations: 4 kB / 0.6944 GB, free: 3.082 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.198e-05/0.1709, allocations: 38.5 kB / 0.6944 GB, free: 3.035 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.113e-06/0.1709, allocations: 0 / 0.6944 GB, free: 3.035 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002514/0.1711, allocations: 57.61 kB / 0.6945 GB, free: 2.973 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.825e-05/0.1712, allocations: 55.34 kB / 0.6945 GB, free: 2.906 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/0.1713, allocations: 89.86 kB / 0.6946 GB, free: 2.809 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.723e-05/0.1713, allocations: 25.7 kB / 0.6946 GB, free: 2.777 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.339e-05/0.1714, allocations: 88.14 kB / 0.6947 GB, free: 2.688 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.116e-05/0.1714, allocations: 21.61 kB / 0.6947 GB, free: 2.668 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.308e-05/0.1715, allocations: 13.72 kB / 0.6947 GB, free: 2.648 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001748/0.1716, allocations: 314.8 kB / 0.695 GB, free: 2.332 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.04e-05/0.1717, allocations: 4 kB / 0.695 GB, free: 2.328 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.304e-05/0.1717, allocations: 7.984 kB / 0.6951 GB, free: 2.32 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.533e-05/0.1718, allocations: 24.78 kB / 0.6951 GB, free: 2.293 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1718, allocations: 0 / 0.6951 GB, free: 2.293 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001144/0.172, allocations: 53.97 kB / 0.6951 GB, free: 2.234 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.172, allocations: 4 kB / 0.6951 GB, free: 2.23 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.172, allocations: 0 / 0.6951 GB, free: 2.23 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.172, allocations: 3.984 kB / 0.6951 GB, free: 2.227 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004147/0.1724, allocations: 47.91 kB / 0.6952 GB, free: 2.18 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001453/0.1739, allocations: 1.313 MB / 0.6965 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.18e-05/0.1739, allocations: 4 kB / 0.6965 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.641e-06/0.174, allocations: 0 / 0.6965 GB, free: 0.7344 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001144/0.1741, allocations: 109.9 kB / 0.6966 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.112e-05/0.1741, allocations: 3.938 kB / 0.6966 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.015e-05/0.1741, allocations: 11.58 kB / 0.6966 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.1741, allocations: 0 / 0.6966 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-06/0.1741, allocations: 0 / 0.6966 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.1741, allocations: 4 kB / 0.6966 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001265/0.1743, allocations: 153.6 kB / 0.6967 GB, free: 400 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.1743, allocations: 3.984 kB / 0.6967 GB, free: 396 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003846/0.1747, allocations: 47.94 kB / 0.6968 GB, free: 348 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.1747, allocations: 3.938 kB / 0.6968 GB, free: 344 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.1747, allocations: 4 kB / 0.6968 GB, free: 340 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001315/0.176, allocations: 1.31 MB / 0.6981 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.176, allocations: 0 / 0.6981 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000142/0.1762, allocations: 85.14 kB / 0.6982 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.814e-05/0.1762, allocations: 77.11 kB / 0.6982 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.045e-06/0.1762, allocations: 3.984 kB / 0.6982 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.663e-05/0.1763, allocations: 0 / 0.6982 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.129e-05/0.1763, allocations: 4 kB / 0.6982 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.07e-06/0.1763, allocations: 4 kB / 0.6982 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.238e-05/0.1763, allocations: 75.28 kB / 0.6983 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.1763, allocations: 0 / 0.6983 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001934/0.1765, allocations: 4 kB / 0.6983 GB, free: 14.61 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001492/0.1767, allocations: 107.2 kB / 0.6984 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004687/0.1772, allocations: 63.84 kB / 0.6985 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.1772, allocations: 7.938 kB / 0.6985 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002462/0.1774, allocations: 35.95 kB / 0.6985 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001399/0.1776, allocations: 0 / 0.6985 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003418/0.1779, allocations: 94.97 kB / 0.6986 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002949/0.1782, allocations: 0.677 MB / 0.6993 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.257e-05/0.1783, allocations: 4 kB / 0.6993 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.92e-05/0.1783, allocations: 11.44 kB / 0.6993 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of SimCode: time 3.3e-07/0.1783, allocations: 0 / 0.6993 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of Templates: time 0.002484/0.1808, allocations: 407.3 kB / 0.6997 GB, free: 13.16 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)