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.001018/0.001018, 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.001064/0.001064, allocations: 193.1 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.362/1.362, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001976/0.001976, allocations: 282.6 kB / 290.4 MB, free: 2.137 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.002/1.002, allocations: 169.2 MB / 0.4978 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001697/0.001697, allocations: 91.27 kB / 0.5947 GB, free: 28.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1604/0.1621, allocations: 86.99 MB / 0.6796 GB, free: 1.055 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001675/0.1638, allocations: 0.6399 MB / 0.6803 GB, free: 440 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002539/0.1641, allocations: 99.61 kB / 0.6804 GB, free: 340 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.343e-05/0.1641, allocations: 0 / 0.6804 GB, free: 340 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.593e-05/0.1641, allocations: 0 / 0.6804 GB, free: 340 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 3.523e-05/0.1642, allocations: 3.938 kB / 0.6804 GB, free: 336 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000213/0.1644, allocations: 15.98 kB / 0.6804 GB, free: 320 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 4.156e-05/0.1644, allocations: 7.938 kB / 0.6804 GB, free: 312 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.25e-05/0.1645, allocations: 8.703 kB / 0.6804 GB, free: 304 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.58e-05/0.1645, allocations: 0 / 0.6804 GB, free: 304 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.225e-05/0.1646, allocations: 8.516 kB / 0.6804 GB, free: 296 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 9.277e-06/0.1646, allocations: 1.906 kB / 0.6804 GB, free: 296 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.982e-05/0.1646, allocations: 15.98 kB / 0.6804 GB, free: 280 kB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.151e-05/0.1647, allocations: 0 / 0.6804 GB, free: 280 kB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 1.854e-05/0.1647, allocations: 7.938 kB / 0.6804 GB, free: 272 kB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 7.659e-05/0.1648, allocations: 19.97 kB / 0.6804 GB, free: 252 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1648, allocations: 4 kB / 0.6804 GB, free: 248 kB / 478.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.1648, allocations: 0 / 0.6804 GB, free: 248 kB / 478.1 MB Notification: Performance of Transformations before backend: time 4.508e-06/0.1648, allocations: 0 / 0.6804 GB, free: 248 kB / 478.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.0003191/0.1651, allocations: 317.1 kB / 0.6807 GB, free: 15.88 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.216e-05/0.1651, allocations: 12.03 kB / 0.6808 GB, free: 15.87 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001509/0.1653, allocations: 8.922 kB / 0.6808 GB, free: 15.86 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.911e-05/0.1654, allocations: 160.7 kB / 0.6809 GB, free: 15.67 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.799e-05/0.1654, allocations: 384 / 0.6809 GB, free: 15.67 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.036e-05/0.1654, allocations: 8.375 kB / 0.6809 GB, free: 15.66 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001092/0.1655, allocations: 42.23 kB / 0.681 GB, free: 15.61 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.1656, allocations: 192 / 0.681 GB, free: 15.61 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.1656, allocations: 11.86 kB / 0.681 GB, free: 15.6 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.1656, allocations: 3.938 kB / 0.681 GB, free: 15.6 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.85e-05/0.1657, allocations: 11.98 kB / 0.681 GB, free: 15.59 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001304/0.1658, allocations: 153.6 kB / 0.6811 GB, free: 15.39 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001614/0.166, allocations: 42.59 kB / 0.6812 GB, free: 15.34 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.632e-05/0.166, allocations: 16.92 kB / 0.6812 GB, free: 15.32 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.407e-05/0.1661, allocations: 0 / 0.6812 GB, free: 15.32 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.423e-05/0.1661, allocations: 30.56 kB / 0.6812 GB, free: 15.28 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.1661, allocations: 0 / 0.6812 GB, free: 15.28 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001974/0.1663, allocations: 61.55 kB / 0.6813 GB, free: 15.21 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.913e-05/0.1663, allocations: 55.41 kB / 0.6813 GB, free: 15.14 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.811e-05/0.1664, allocations: 93.86 kB / 0.6814 GB, free: 15.04 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.194e-05/0.1664, allocations: 25.7 kB / 0.6815 GB, free: 15.01 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.065e-05/0.1664, allocations: 80.14 kB / 0.6815 GB, free: 14.93 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.045e-05/0.1664, allocations: 11.89 kB / 0.6815 GB, free: 14.92 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.062e-05/0.1665, allocations: 13.72 kB / 0.6816 GB, free: 14.9 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.766e-05/0.1666, allocations: 314.8 kB / 0.6819 GB, free: 14.58 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.574e-05/0.1666, allocations: 11.98 kB / 0.6819 GB, free: 14.57 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.09e-05/0.1667, allocations: 4 kB / 0.6819 GB, free: 14.57 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.608e-05/0.1667, allocations: 24.78 kB / 0.6819 GB, free: 14.54 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.1668, allocations: 3.938 kB / 0.6819 GB, free: 14.54 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001078/0.1669, allocations: 49.59 kB / 0.6819 GB, free: 14.48 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.1669, allocations: 4 kB / 0.6819 GB, free: 14.48 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.1669, allocations: 0 / 0.6819 GB, free: 14.48 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.1669, allocations: 11.92 kB / 0.682 GB, free: 14.46 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000367/0.1673, allocations: 39.94 kB / 0.682 GB, free: 14.43 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00121/0.1685, allocations: 1.409 MB / 0.6834 GB, free: 12.88 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.447e-05/0.1686, allocations: 11.94 kB / 0.6834 GB, free: 12.87 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.699e-06/0.1686, allocations: 0 / 0.6834 GB, free: 12.87 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 6.607e-05/0.1686, allocations: 111.1 kB / 0.6835 GB, free: 12.75 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.346e-06/0.1687, allocations: 0 / 0.6835 GB, free: 12.75 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.537e-05/0.1687, allocations: 11.5 kB / 0.6835 GB, free: 12.74 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.1687, allocations: 0 / 0.6835 GB, free: 12.74 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/0.1687, allocations: 64 / 0.6835 GB, free: 12.74 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.914e-06/0.1687, allocations: 4 kB / 0.6835 GB, free: 12.73 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.934e-05/0.1688, allocations: 153.6 kB / 0.6837 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.1688, allocations: 3.938 kB / 0.6837 GB, free: 12.53 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000363/0.1692, allocations: 47.92 kB / 0.6837 GB, free: 12.48 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.1692, allocations: 0 / 0.6837 GB, free: 12.48 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.011e-06/0.1692, allocations: 4 kB / 0.6837 GB, free: 12.48 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001082/0.1703, allocations: 1.405 MB / 0.6851 GB, free: 10.94 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1703, allocations: 0 / 0.6851 GB, free: 10.94 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000118/0.1704, allocations: 77.19 kB / 0.6852 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.226e-05/0.1705, allocations: 81.09 kB / 0.6852 GB, free: 10.75 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.785e-06/0.1705, allocations: 7.938 kB / 0.6852 GB, free: 10.74 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.823e-05/0.1705, allocations: 4 kB / 0.6852 GB, free: 10.73 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.312e-05/0.1705, allocations: 0 / 0.6852 GB, free: 10.73 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.13e-06/0.1705, allocations: 4 kB / 0.6852 GB, free: 10.73 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.125e-05/0.1706, allocations: 75.28 kB / 0.6853 GB, free: 10.66 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1706, allocations: 4 kB / 0.6853 GB, free: 10.65 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001936/0.1708, allocations: 8 kB / 0.6853 GB, free: 10.64 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 (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 9.979e-05/0.1709, allocations: 99.23 kB / 0.6854 GB, free: 10.54 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004516/0.1713, allocations: 63.86 kB / 0.6855 GB, free: 10.47 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1713, allocations: 4 kB / 0.6855 GB, free: 10.47 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002264/0.1716, allocations: 32.09 kB / 0.6855 GB, free: 10.44 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001277/0.1717, allocations: 5.781 kB / 0.6855 GB, free: 10.43 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002678/0.172, allocations: 97.05 kB / 0.6856 GB, free: 10.31 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001925/0.1722, allocations: 0.6768 MB / 0.6863 GB, free: 9.609 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.391e-05/0.1722, allocations: 7.938 kB / 0.6863 GB, free: 9.602 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.126e-05/0.1723, allocations: 7.438 kB / 0.6863 GB, free: 9.598 MB / 494.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1723, allocations: 0 / 0.6863 GB, free: 9.598 MB / 494.1 MB Notification: Performance of Templates: time 0.002114/0.1744, allocations: 418.2 kB / 0.6867 GB, free: 9.191 MB / 494.1 MB 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)