Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.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.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized") translateModel(BuildingSystems.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001087/0.001087, 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.001005/0.001005, allocations: 195.2 kB / 16.14 MB, free: 6.707 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.336/1.336, allocations: 222.9 MB / 239.8 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002002/0.002002, allocations: 287 kB / 290.2 MB, free: 2.156 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9695/0.9695, allocations: 169.2 MB / 0.4977 GB, free: 14.2 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001672/0.001673, allocations: 92.67 kB / 0.5945 GB, free: 28.29 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1598/0.1615, allocations: 86.98 MB / 0.6794 GB, free: 1.211 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.PowerLinearized): time 0.002477/0.164, allocations: 1.499 MB / 0.6809 GB, free: 15.71 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002761/0.1643, allocations: 89.5 kB / 0.681 GB, free: 15.62 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.175e-05/0.1643, allocations: 0 / 0.681 GB, free: 15.62 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.829e-05/0.1644, allocations: 5.75 kB / 0.681 GB, free: 15.62 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.43e-05/0.1644, allocations: 0 / 0.681 GB, free: 15.62 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001387/0.1646, allocations: 15.98 kB / 0.681 GB, free: 15.6 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.176e-05/0.1646, allocations: 19.92 kB / 0.681 GB, free: 15.58 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.61e-05/0.1647, allocations: 12.73 kB / 0.681 GB, free: 15.57 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.507e-05/0.1648, allocations: 7.938 kB / 0.681 GB, free: 15.56 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.411e-05/0.1648, allocations: 16.55 kB / 0.6811 GB, free: 15.55 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.138e-05/0.1648, allocations: 1.719 kB / 0.6811 GB, free: 15.55 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.194e-05/0.1649, allocations: 15.98 kB / 0.6811 GB, free: 15.53 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.195e-05/0.1649, allocations: 0 / 0.6811 GB, free: 15.53 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.722e-05/0.1649, allocations: 19.86 kB / 0.6811 GB, free: 15.51 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.773e-05/0.165, allocations: 32.17 kB / 0.6811 GB, free: 15.48 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.165, allocations: 0.625 kB / 0.6811 GB, free: 15.48 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.32e-07/0.165, allocations: 0 / 0.6811 GB, free: 15.48 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.647e-06/0.165, allocations: 0.6562 kB / 0.6811 GB, free: 15.48 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.0003982/0.1654, allocations: 349.8 kB / 0.6815 GB, free: 15.09 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.201e-05/0.1655, allocations: 8.031 kB / 0.6815 GB, free: 15.08 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000153/0.1656, allocations: 16.91 kB / 0.6815 GB, free: 15.07 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001024/0.1657, allocations: 168.3 kB / 0.6816 GB, free: 14.86 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.054e-05/0.1658, allocations: 6.438 kB / 0.6816 GB, free: 14.86 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.738e-06/0.1658, allocations: 384 / 0.6816 GB, free: 14.86 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001796/0.166, allocations: 58.22 kB / 0.6817 GB, free: 14.8 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.652e-06/0.166, allocations: 192 / 0.6817 GB, free: 14.8 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.166, allocations: 4.656 kB / 0.6817 GB, free: 14.79 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.166, allocations: 0 / 0.6817 GB, free: 14.79 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002076/0.1662, allocations: 49.45 kB / 0.6818 GB, free: 14.75 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003414/0.1666, allocations: 262.2 kB / 0.682 GB, free: 14.44 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001673/0.1668, allocations: 63.23 kB / 0.6821 GB, free: 14.37 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001015/0.1669, allocations: 28.89 kB / 0.6821 GB, free: 14.34 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.493e-05/0.1669, allocations: 0 / 0.6821 GB, free: 14.34 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.054e-05/0.1669, allocations: 30.56 kB / 0.6821 GB, free: 14.3 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.1669, allocations: 0 / 0.6821 GB, free: 14.3 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003922/0.1673, allocations: 109.6 kB / 0.6822 GB, free: 14.19 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.311e-05/0.1674, allocations: 51.41 kB / 0.6823 GB, free: 14.12 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.534e-05/0.1674, allocations: 105.8 kB / 0.6824 GB, free: 14.01 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/0.1675, allocations: 25.7 kB / 0.6824 GB, free: 13.98 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.125e-05/0.1675, allocations: 88.08 kB / 0.6825 GB, free: 13.89 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.663e-05/0.1675, allocations: 3.906 kB / 0.6825 GB, free: 13.89 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.123e-05/0.1676, allocations: 13.72 kB / 0.6825 GB, free: 13.87 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.1677, allocations: 319 kB / 0.6828 GB, free: 13.55 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000103/0.1678, allocations: 28.16 kB / 0.6828 GB, free: 13.52 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.924e-05/0.1679, allocations: 23.97 kB / 0.6829 GB, free: 13.5 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001972/0.1681, allocations: 60.88 kB / 0.6829 GB, free: 13.43 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1681, allocations: 0 / 0.6829 GB, free: 13.43 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002235/0.1683, allocations: 85.53 kB / 0.683 GB, free: 13.34 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.1683, allocations: 4 kB / 0.683 GB, free: 13.34 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.1684, allocations: 0 / 0.683 GB, free: 13.34 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.036e-05/0.1684, allocations: 0 / 0.683 GB, free: 13.34 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/0.1685, allocations: 11.98 kB / 0.683 GB, free: 13.33 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.1685, allocations: 0 / 0.683 GB, free: 13.33 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.222e-05/0.1686, allocations: 12.02 kB / 0.683 GB, free: 13.32 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.681e-06/0.1686, allocations: 0 / 0.683 GB, free: 13.32 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.545e-05/0.1686, allocations: 119 kB / 0.6831 GB, free: 13.19 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.576e-05/0.1687, allocations: 7.891 kB / 0.6831 GB, free: 13.18 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.775e-05/0.1687, allocations: 11.53 kB / 0.6832 GB, free: 13.17 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.1687, allocations: 0 / 0.6832 GB, free: 13.17 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.1687, allocations: 3.984 kB / 0.6832 GB, free: 13.17 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.814e-06/0.1687, allocations: 0 / 0.6832 GB, free: 13.17 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001504/0.1689, allocations: 169.6 kB / 0.6833 GB, free: 12.95 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1689, allocations: 0 / 0.6833 GB, free: 12.95 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.487e-05/0.169, allocations: 7.984 kB / 0.6833 GB, free: 12.95 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.169, allocations: 4 kB / 0.6833 GB, free: 12.94 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.094e-06/0.169, allocations: 0 / 0.6833 GB, free: 12.94 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.169, allocations: 0 / 0.6833 GB, free: 12.94 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.169, allocations: 0 / 0.6833 GB, free: 12.94 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002727/0.1693, allocations: 187.4 kB / 0.6835 GB, free: 12.74 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.269e-05/0.1693, allocations: 81.02 kB / 0.6836 GB, free: 12.64 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.336e-05/0.1693, allocations: 0 / 0.6836 GB, free: 12.64 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.859e-05/0.1694, allocations: 11.98 kB / 0.6836 GB, free: 12.63 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.166e-05/0.1695, allocations: 0 / 0.6836 GB, free: 12.63 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-06/0.1695, allocations: 0 / 0.6836 GB, free: 12.63 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.938e-05/0.1695, allocations: 87.27 kB / 0.6837 GB, free: 12.55 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1695, allocations: 32 / 0.6837 GB, free: 12.55 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002097/0.1697, allocations: 12 kB / 0.6837 GB, free: 12.54 MB / 494.1 MB 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.511e-05/0.1698, allocations: 95.25 kB / 0.6838 GB, free: 12.43 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002478/0.1701, allocations: 51.89 kB / 0.6838 GB, free: 12.38 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.1701, allocations: 3.938 kB / 0.6838 GB, free: 12.38 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001042/0.1702, allocations: 32.03 kB / 0.6839 GB, free: 12.35 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000266/0.1705, allocations: 5.656 kB / 0.6839 GB, free: 12.34 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003302/0.1708, allocations: 127.3 kB / 0.684 GB, free: 12.2 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002753/0.1711, allocations: 0.6772 MB / 0.6847 GB, free: 11.49 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.485e-05/0.1712, allocations: 4.062 kB / 0.6847 GB, free: 11.49 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.921e-05/0.1712, allocations: 11.42 kB / 0.6847 GB, free: 11.48 MB / 494.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1712, allocations: 0 / 0.6847 GB, free: 11.48 MB / 494.1 MB Notification: Performance of Templates: time 0.002461/0.1737, allocations: 0.5106 MB / 0.6852 GB, free: 10.97 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)