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.001769/0.001769, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001393/0.001393, allocations: 195.5 kB / 16.14 MB, free: 6.723 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.442/1.442, allocations: 222.9 MB / 239.8 MB, free: 4.473 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00261/0.00261, allocations: 270.8 kB / 290.2 MB, free: 2.09 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.07/1.07, allocations: 178.6 MB / 0.5068 GB, free: 4.773 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002795/0.002795, allocations: 99.81 kB / 0.6057 GB, free: 25.29 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1625/0.1653, allocations: 89.15 MB / 0.6928 GB, free: 4.828 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.PowerLinearized): time 0.002679/0.1681, allocations: 1.513 MB / 0.6943 GB, free: 3.309 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002864/0.1684, allocations: 90.38 kB / 0.6943 GB, free: 3.219 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.1e-05/0.1684, allocations: 0 / 0.6943 GB, free: 3.219 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.433e-05/0.1684, allocations: 7.922 kB / 0.6944 GB, free: 3.211 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.012e-05/0.1685, allocations: 4 kB / 0.6944 GB, free: 3.207 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001355/0.1686, allocations: 11.98 kB / 0.6944 GB, free: 3.195 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.727e-05/0.1687, allocations: 23.92 kB / 0.6944 GB, free: 3.172 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.364e-05/0.1688, allocations: 4 kB / 0.6944 GB, free: 3.168 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.901e-05/0.1688, allocations: 11.92 kB / 0.6944 GB, free: 3.156 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.113e-05/0.1689, allocations: 15.92 kB / 0.6944 GB, free: 3.141 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.185e-05/0.1689, allocations: 0 / 0.6944 GB, free: 3.141 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.624e-05/0.1689, allocations: 15.98 kB / 0.6944 GB, free: 3.125 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.222e-05/0.169, allocations: 0 / 0.6944 GB, free: 3.125 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.819e-05/0.169, allocations: 11.94 kB / 0.6945 GB, free: 3.113 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001013/0.1691, allocations: 43.88 kB / 0.6945 GB, free: 3.07 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.1691, allocations: 0 / 0.6945 GB, free: 3.07 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1691, allocations: 0 / 0.6945 GB, free: 3.07 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.216e-06/0.1691, allocations: 0 / 0.6945 GB, free: 3.07 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.0004684/0.1696, allocations: 343.7 kB / 0.6948 GB, free: 2.684 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.1696, allocations: 11.97 kB / 0.6948 GB, free: 2.672 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001545/0.1698, allocations: 12.92 kB / 0.6948 GB, free: 2.66 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001424/0.1699, allocations: 168.3 kB / 0.695 GB, free: 2.457 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.459e-05/0.17, allocations: 4.375 kB / 0.695 GB, free: 2.453 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.393e-05/0.17, allocations: 4.359 kB / 0.695 GB, free: 2.449 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001989/0.1702, allocations: 54.23 kB / 0.6951 GB, free: 2.391 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.1702, allocations: 192 / 0.6951 GB, free: 2.391 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.1702, allocations: 3.938 kB / 0.6951 GB, free: 2.387 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.1702, allocations: 0 / 0.6951 GB, free: 2.387 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002375/0.1705, allocations: 51.94 kB / 0.6951 GB, free: 2.336 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004073/0.1709, allocations: 268.8 kB / 0.6954 GB, free: 2.023 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001775/0.1711, allocations: 54.48 kB / 0.6954 GB, free: 1.961 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001052/0.1712, allocations: 28.89 kB / 0.6955 GB, free: 1.93 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.731e-05/0.1712, allocations: 4 kB / 0.6955 GB, free: 1.926 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.137e-05/0.1713, allocations: 34.56 kB / 0.6955 GB, free: 1.883 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.302e-06/0.1713, allocations: 3.938 kB / 0.6955 GB, free: 1.879 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004162/0.1717, allocations: 101.6 kB / 0.6956 GB, free: 1.773 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.922e-05/0.1717, allocations: 51.41 kB / 0.6956 GB, free: 1.711 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.551e-05/0.1718, allocations: 110 kB / 0.6957 GB, free: 1.594 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.374e-05/0.1719, allocations: 25.7 kB / 0.6958 GB, free: 1.562 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.948e-05/0.1719, allocations: 88.14 kB / 0.6959 GB, free: 1.473 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.914e-05/0.1719, allocations: 7.844 kB / 0.6959 GB, free: 1.465 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.793e-05/0.172, allocations: 17.7 kB / 0.6959 GB, free: 1.441 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.1721, allocations: 314.8 kB / 0.6962 GB, free: 1.125 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001107/0.1722, allocations: 19.97 kB / 0.6962 GB, free: 1.105 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001025/0.1724, allocations: 23.98 kB / 0.6962 GB, free: 1.082 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001966/0.1726, allocations: 52.81 kB / 0.6963 GB, free: 1.027 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.1726, allocations: 0 / 0.6963 GB, free: 1.027 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000254/0.1728, allocations: 97.48 kB / 0.6964 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.1729, allocations: 4 kB / 0.6964 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.486e-06/0.1729, allocations: 0 / 0.6964 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.1729, allocations: 0 / 0.6964 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001054/0.173, allocations: 11.98 kB / 0.6964 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.173, allocations: 0 / 0.6964 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.935e-05/0.1731, allocations: 8.234 kB / 0.6964 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.1731, allocations: 4 kB / 0.6964 GB, free: 0.8984 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 8.922e-05/0.1732, allocations: 117.8 kB / 0.6965 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.403e-05/0.1732, allocations: 0 / 0.6965 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.039e-05/0.1732, allocations: 11.53 kB / 0.6965 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.1733, allocations: 0 / 0.6965 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.307e-06/0.1733, allocations: 0 / 0.6965 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.073e-06/0.1733, allocations: 0 / 0.6965 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001986/0.1735, allocations: 173.6 kB / 0.6967 GB, free: 0.543 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1735, allocations: 0 / 0.6967 GB, free: 0.543 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.732e-05/0.1736, allocations: 11.98 kB / 0.6967 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.1736, allocations: 0 / 0.6967 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.703e-06/0.1736, allocations: 4 kB / 0.6967 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.1736, allocations: 0 / 0.6967 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/0.1736, allocations: 3.984 kB / 0.6967 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003032/0.1739, allocations: 175.4 kB / 0.6969 GB, free: 344 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.699e-05/0.174, allocations: 85 kB / 0.6969 GB, free: 240 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.277e-05/0.174, allocations: 3.938 kB / 0.697 GB, free: 236 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.721e-05/0.1741, allocations: 19.95 kB / 0.697 GB, free: 216 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.807e-05/0.1741, allocations: 0 / 0.697 GB, free: 216 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.988e-06/0.1741, allocations: 0 / 0.697 GB, free: 216 kB / 494.1 MB Notification: Performance of sorting global known variables: time 5.45e-05/0.1742, allocations: 83.28 kB / 0.697 GB, free: 132 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1742, allocations: 0 / 0.697 GB, free: 132 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002185/0.1744, allocations: 8 kB / 0.6971 GB, free: 124 kB / 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.0001023/0.1745, allocations: 99.23 kB / 0.6972 GB, free: 16 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002816/0.1748, allocations: 55.89 kB / 0.6972 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.1748, allocations: 0 / 0.6972 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001173/0.1749, allocations: 27.97 kB / 0.6972 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002687/0.1752, allocations: 7.938 kB / 0.6972 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003275/0.1756, allocations: 127.4 kB / 0.6974 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003054/0.1759, allocations: 0.677 MB / 0.698 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.253e-05/0.1759, allocations: 0 / 0.698 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.96e-05/0.176, allocations: 7.438 kB / 0.698 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of SimCode: time 3.41e-07/0.176, allocations: 0 / 0.698 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of Templates: time 0.002595/0.1786, allocations: 0.5065 MB / 0.6985 GB, free: 14.56 MB / 0.4981 GB 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)