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.001429/0.001428, 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.001761/0.001761, allocations: 192.2 kB / 16.13 MB, free: 6.715 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.361/1.361, allocations: 222.9 MB / 239.8 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00208/0.00208, allocations: 279 kB / 290.2 MB, free: 2.152 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9435/0.9435, allocations: 169.2 MB / 0.4977 GB, free: 14.17 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001752/0.001752, allocations: 100 kB / 0.5945 GB, free: 28.42 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1569/0.1587, allocations: 86.98 MB / 0.6795 GB, free: 1.207 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001801/0.1605, allocations: 0.6382 MB / 0.6801 GB, free: 0.5781 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003059/0.1609, allocations: 103.6 kB / 0.6802 GB, free: 488 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.221e-05/0.1609, allocations: 0.75 kB / 0.6802 GB, free: 488 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.678e-05/0.1609, allocations: 0 / 0.6802 GB, free: 488 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 4.388e-05/0.161, allocations: 9.234 kB / 0.6802 GB, free: 480 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001707/0.1611, allocations: 8 kB / 0.6802 GB, free: 472 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 4e-05/0.1612, allocations: 4 kB / 0.6802 GB, free: 468 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.722e-05/0.1612, allocations: 15.98 kB / 0.6802 GB, free: 452 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.066e-05/0.1613, allocations: 7.984 kB / 0.6802 GB, free: 444 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.048e-05/0.1613, allocations: 0 / 0.6802 GB, free: 444 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.419e-05/0.1614, allocations: 4 kB / 0.6802 GB, free: 440 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.926e-05/0.1614, allocations: 15.98 kB / 0.6802 GB, free: 424 kB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.109e-05/0.1615, allocations: 0 / 0.6802 GB, free: 424 kB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 1.93e-05/0.1615, allocations: 7.938 kB / 0.6802 GB, free: 416 kB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 7.509e-05/0.1616, allocations: 11.98 kB / 0.6803 GB, free: 404 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.1616, allocations: 0 / 0.6803 GB, free: 404 kB / 478.1 MB Notification: Performance of FrontEnd: time 7.82e-07/0.1616, allocations: 0 / 0.6803 GB, free: 404 kB / 478.1 MB Notification: Performance of Transformations before backend: time 6.483e-06/0.1616, allocations: 4 kB / 0.6803 GB, free: 400 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.0003256/0.1619, allocations: 315.6 kB / 0.6806 GB, free: 32 kB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.162, allocations: 8.031 kB / 0.6806 GB, free: 24 kB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001482/0.1621, allocations: 8.922 kB / 0.6806 GB, free: 16 kB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001099/0.1622, allocations: 164.7 kB / 0.6807 GB, free: 15.82 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.932e-05/0.1623, allocations: 8.375 kB / 0.6807 GB, free: 15.81 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.097e-06/0.1623, allocations: 384 / 0.6807 GB, free: 15.81 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001241/0.1624, allocations: 38.19 kB / 0.6808 GB, free: 15.77 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.1624, allocations: 4.188 kB / 0.6808 GB, free: 15.76 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.1624, allocations: 7.938 kB / 0.6808 GB, free: 15.75 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.1624, allocations: 0 / 0.6808 GB, free: 15.75 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.139e-05/0.1625, allocations: 11.98 kB / 0.6808 GB, free: 15.74 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001616/0.1627, allocations: 161.6 kB / 0.681 GB, free: 15.54 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001735/0.1629, allocations: 38.56 kB / 0.681 GB, free: 15.49 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.884e-05/0.1629, allocations: 20.84 kB / 0.681 GB, free: 15.46 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.717e-05/0.163, allocations: 3.984 kB / 0.681 GB, free: 15.46 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.019e-05/0.163, allocations: 34.56 kB / 0.681 GB, free: 15.42 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 2.294e-06/0.163, allocations: 3.984 kB / 0.6811 GB, free: 15.41 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002128/0.1632, allocations: 57.61 kB / 0.6811 GB, free: 15.35 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.011e-05/0.1633, allocations: 51.41 kB / 0.6812 GB, free: 15.29 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.512e-05/0.1633, allocations: 97.86 kB / 0.6813 GB, free: 15.18 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.163e-05/0.1633, allocations: 25.7 kB / 0.6813 GB, free: 15.15 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.79e-05/0.1634, allocations: 80.14 kB / 0.6814 GB, free: 15.07 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.319e-05/0.1634, allocations: 7.906 kB / 0.6814 GB, free: 15.06 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.948e-05/0.1634, allocations: 13.72 kB / 0.6814 GB, free: 15.04 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001115/0.1636, allocations: 314.8 kB / 0.6817 GB, free: 14.73 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.341e-05/0.1636, allocations: 15.92 kB / 0.6817 GB, free: 14.71 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.001e-05/0.1636, allocations: 4 kB / 0.6817 GB, free: 14.71 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.578e-05/0.1637, allocations: 24.84 kB / 0.6817 GB, free: 14.68 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.1637, allocations: 0 / 0.6817 GB, free: 14.68 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000108/0.1638, allocations: 53.58 kB / 0.6818 GB, free: 14.62 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.1639, allocations: 8 kB / 0.6818 GB, free: 14.61 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-06/0.1639, allocations: 0 / 0.6818 GB, free: 14.61 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.1639, allocations: 3.938 kB / 0.6818 GB, free: 14.61 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003914/0.1643, allocations: 43.94 kB / 0.6818 GB, free: 14.57 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001276/0.1656, allocations: 1.306 MB / 0.6831 GB, free: 13.13 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.147e-05/0.1656, allocations: 3.984 kB / 0.6831 GB, free: 13.12 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.099e-06/0.1656, allocations: 0 / 0.6831 GB, free: 13.12 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.0001091/0.1657, allocations: 119.2 kB / 0.6832 GB, free: 13 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.107e-05/0.1658, allocations: 7.844 kB / 0.6832 GB, free: 12.99 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.36e-05/0.1658, allocations: 3.5 kB / 0.6832 GB, free: 12.99 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.1658, allocations: 0 / 0.6832 GB, free: 12.99 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.41e-07/0.1658, allocations: 0 / 0.6832 GB, free: 12.99 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.1658, allocations: 0 / 0.6832 GB, free: 12.99 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001104/0.1659, allocations: 157.6 kB / 0.6834 GB, free: 12.79 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1659, allocations: 3.938 kB / 0.6834 GB, free: 12.78 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003676/0.1663, allocations: 51.92 kB / 0.6834 GB, free: 12.73 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.1663, allocations: 0 / 0.6834 GB, free: 12.73 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.1663, allocations: 4.266 kB / 0.6834 GB, free: 12.73 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001058/0.1674, allocations: 1.306 MB / 0.6847 GB, free: 11.29 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.1674, allocations: 0 / 0.6847 GB, free: 11.29 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001262/0.1675, allocations: 85.17 kB / 0.6848 GB, free: 11.19 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.819e-05/0.1676, allocations: 81.11 kB / 0.6849 GB, free: 11.09 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.693e-06/0.1676, allocations: 0 / 0.6849 GB, free: 11.09 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.647e-05/0.1676, allocations: 0 / 0.6849 GB, free: 11.09 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.056e-05/0.1676, allocations: 7.984 kB / 0.6849 GB, free: 11.08 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.1676, allocations: 0 / 0.6849 GB, free: 11.08 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.791e-05/0.1677, allocations: 79.28 kB / 0.6849 GB, free: 11 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1677, allocations: 0 / 0.6849 GB, free: 11 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001883/0.1679, allocations: 8 kB / 0.685 GB, free: 11 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 0.0001138/0.168, allocations: 99.19 kB / 0.685 GB, free: 10.89 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004444/0.1684, allocations: 63.86 kB / 0.6851 GB, free: 10.82 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1684, allocations: 0 / 0.6851 GB, free: 10.82 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002376/0.1687, allocations: 35.95 kB / 0.6851 GB, free: 10.79 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001291/0.1688, allocations: 4 kB / 0.6851 GB, free: 10.79 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003268/0.1692, allocations: 109.4 kB / 0.6853 GB, free: 10.66 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002469/0.1694, allocations: 0.6731 MB / 0.6859 GB, free: 9.957 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.489e-05/0.1695, allocations: 4 kB / 0.6859 GB, free: 9.953 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.539e-05/0.1695, allocations: 7.438 kB / 0.6859 GB, free: 9.949 MB / 494.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1695, allocations: 0 / 0.6859 GB, free: 9.949 MB / 494.1 MB Notification: Performance of Templates: time 0.002268/0.1718, allocations: 404.6 kB / 0.6863 GB, free: 9.555 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)