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.001289/0.001289, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001519/0.001519, allocations: 191 kB / 16.25 MB, free: 6.617 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.304/1.304, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002058/0.002057, allocations: 278.8 kB / 290.3 MB, free: 2.148 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9939/0.9939, allocations: 169.2 MB / 0.4978 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001671/0.001671, allocations: 97.34 kB / 0.5947 GB, free: 28.17 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1524/0.1541, allocations: 86.98 MB / 0.6796 GB, free: 1.07 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.PowerLinearized): time 0.002954/0.1571, allocations: 1.503 MB / 0.6811 GB, free: 15.57 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002761/0.1574, allocations: 85.28 kB / 0.6812 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.78e-05/0.1575, allocations: 0 / 0.6812 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.867e-05/0.1575, allocations: 4.594 kB / 0.6812 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.949e-05/0.1576, allocations: 6.469 kB / 0.6812 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002335/0.1578, allocations: 15.97 kB / 0.6812 GB, free: 15.46 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.195e-05/0.1579, allocations: 23.92 kB / 0.6812 GB, free: 15.44 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.1581, allocations: 4 kB / 0.6812 GB, free: 15.43 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.931e-05/0.1581, allocations: 11.94 kB / 0.6812 GB, free: 15.42 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.397e-05/0.1582, allocations: 15.92 kB / 0.6812 GB, free: 15.41 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.816e-05/0.1582, allocations: 6.062 kB / 0.6813 GB, free: 15.4 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.895e-05/0.1583, allocations: 11.98 kB / 0.6813 GB, free: 15.39 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.228e-05/0.1583, allocations: 4 kB / 0.6813 GB, free: 15.39 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.568e-05/0.1583, allocations: 15.92 kB / 0.6813 GB, free: 15.37 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001093/0.1584, allocations: 36.17 kB / 0.6813 GB, free: 15.34 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.1584, allocations: 0.7188 kB / 0.6813 GB, free: 15.34 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.1584, allocations: 0 / 0.6813 GB, free: 15.34 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.501e-06/0.1584, allocations: 0.875 kB / 0.6813 GB, free: 15.34 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.0004514/0.1589, allocations: 348 kB / 0.6817 GB, free: 14.95 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.1589, allocations: 9.344 kB / 0.6817 GB, free: 14.94 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001771/0.1591, allocations: 16.91 kB / 0.6817 GB, free: 14.92 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.1593, allocations: 168.3 kB / 0.6818 GB, free: 14.72 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.141e-05/0.1593, allocations: 5.125 kB / 0.6818 GB, free: 14.71 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.446e-06/0.1593, allocations: 384 / 0.6818 GB, free: 14.71 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001768/0.1595, allocations: 62.22 kB / 0.6819 GB, free: 14.65 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.1595, allocations: 192 / 0.6819 GB, free: 14.65 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.1595, allocations: 7.938 kB / 0.6819 GB, free: 14.64 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.1595, allocations: 3.984 kB / 0.6819 GB, free: 14.64 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001943/0.1597, allocations: 43.95 kB / 0.682 GB, free: 14.59 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000368/0.1601, allocations: 264.9 kB / 0.6822 GB, free: 14.29 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001659/0.1603, allocations: 54.48 kB / 0.6823 GB, free: 14.22 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001038/0.1604, allocations: 32.89 kB / 0.6823 GB, free: 14.19 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.405e-05/0.1604, allocations: 3.938 kB / 0.6823 GB, free: 14.18 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.101e-05/0.1604, allocations: 34.56 kB / 0.6823 GB, free: 14.14 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.1604, allocations: 0 / 0.6823 GB, free: 14.14 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004113/0.1609, allocations: 105.6 kB / 0.6824 GB, free: 14.03 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.636e-05/0.1609, allocations: 51.41 kB / 0.6825 GB, free: 13.97 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.135e-05/0.161, allocations: 105.8 kB / 0.6826 GB, free: 13.86 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/0.161, allocations: 29.83 kB / 0.6826 GB, free: 13.82 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.069e-05/0.1611, allocations: 88.08 kB / 0.6827 GB, free: 13.73 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.01e-05/0.1611, allocations: 7.906 kB / 0.6827 GB, free: 13.72 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.239e-05/0.1611, allocations: 9.719 kB / 0.6827 GB, free: 13.71 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.1613, allocations: 318.8 kB / 0.683 GB, free: 13.39 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001149/0.1614, allocations: 27.97 kB / 0.683 GB, free: 13.36 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.073e-05/0.1615, allocations: 23.97 kB / 0.6831 GB, free: 13.34 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001828/0.1617, allocations: 52.81 kB / 0.6831 GB, free: 13.28 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1617, allocations: 0 / 0.6831 GB, free: 13.28 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002561/0.1619, allocations: 81.53 kB / 0.6832 GB, free: 13.2 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.162, allocations: 8.094 kB / 0.6832 GB, free: 13.19 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.162, allocations: 4 kB / 0.6832 GB, free: 13.18 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.162, allocations: 0 / 0.6832 GB, free: 13.18 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/0.1621, allocations: 11.98 kB / 0.6832 GB, free: 13.17 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.1621, allocations: 0 / 0.6832 GB, free: 13.17 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.316e-05/0.1622, allocations: 7.984 kB / 0.6832 GB, free: 13.16 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.1622, allocations: 0 / 0.6832 GB, free: 13.16 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 9.82e-05/0.1623, allocations: 119.1 kB / 0.6833 GB, free: 13.04 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.896e-05/0.1623, allocations: 7.891 kB / 0.6833 GB, free: 13.03 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.04e-05/0.1624, allocations: 7.531 kB / 0.6833 GB, free: 13.02 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.1624, allocations: 0 / 0.6833 GB, free: 13.02 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.1624, allocations: 0 / 0.6833 GB, free: 13.02 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.1624, allocations: 4 kB / 0.6834 GB, free: 13.02 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001904/0.1626, allocations: 165.6 kB / 0.6835 GB, free: 12.81 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1626, allocations: 0 / 0.6835 GB, free: 12.81 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.958e-05/0.1627, allocations: 12.23 kB / 0.6835 GB, free: 12.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.043e-06/0.1627, allocations: 0 / 0.6835 GB, free: 12.8 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.1627, allocations: 4 kB / 0.6835 GB, free: 12.79 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.1627, allocations: 4 kB / 0.6835 GB, free: 12.79 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.1627, allocations: 4 kB / 0.6835 GB, free: 12.79 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003053/0.163, allocations: 179.4 kB / 0.6837 GB, free: 12.59 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.411e-05/0.1631, allocations: 81.02 kB / 0.6838 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.407e-05/0.1631, allocations: 0 / 0.6838 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.007e-05/0.1632, allocations: 12.02 kB / 0.6838 GB, free: 12.48 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.039e-05/0.1633, allocations: 8 kB / 0.6838 GB, free: 12.48 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-06/0.1633, allocations: 0 / 0.6838 GB, free: 12.48 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.747e-05/0.1633, allocations: 87.2 kB / 0.6839 GB, free: 12.39 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1633, allocations: 0 / 0.6839 GB, free: 12.39 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002209/0.1636, allocations: 4 kB / 0.6839 GB, free: 12.39 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 0.0001427/0.1637, allocations: 99.25 kB / 0.684 GB, free: 12.28 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002643/0.164, allocations: 59.83 kB / 0.684 GB, free: 12.22 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.164, allocations: 0 / 0.684 GB, free: 12.22 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001094/0.1641, allocations: 27.97 kB / 0.6841 GB, free: 12.2 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002832/0.1644, allocations: 9.969 kB / 0.6841 GB, free: 12.19 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003604/0.1648, allocations: 125.7 kB / 0.6842 GB, free: 12.04 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003243/0.1651, allocations: 0.6768 MB / 0.6849 GB, free: 11.34 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.521e-05/0.1651, allocations: 4 kB / 0.6849 GB, free: 11.33 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.63e-05/0.1652, allocations: 7.438 kB / 0.6849 GB, free: 11.32 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1652, allocations: 0 / 0.6849 GB, free: 11.32 MB / 494.1 MB Notification: Performance of Templates: time 0.00251/0.1677, allocations: 0.522 MB / 0.6854 GB, free: 10.8 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)