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.004414/0.004413, allocations: 102.1 kB / 15.73 MB, free: 6.043 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.001086/0.001086, allocations: 188.1 kB / 16.67 MB, free: 5.977 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.322/1.322, allocations: 222.9 MB / 240.4 MB, free: 4.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002121/0.002121, allocations: 290.3 kB / 290.8 MB, free: 1.945 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9671/0.9671, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00171/0.00171, allocations: 99.84 kB / 0.6815 GB, free: 15.49 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1566/0.1584, allocations: 86.97 MB / 0.7664 GB, free: 8.445 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.PowerLinearized): time 0.002214/0.1606, allocations: 1.451 MB / 0.7678 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0002562/0.1609, allocations: 84.59 kB / 0.7679 GB, free: 6.898 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.045e-05/0.1609, allocations: 0 / 0.7679 GB, free: 6.898 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.947e-05/0.161, allocations: 3.938 kB / 0.7679 GB, free: 6.895 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 3.956e-05/0.161, allocations: 7.938 kB / 0.7679 GB, free: 6.887 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001861/0.1612, allocations: 15.97 kB / 0.7679 GB, free: 6.871 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.273e-05/0.1613, allocations: 19.94 kB / 0.7679 GB, free: 6.852 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.003e-05/0.1614, allocations: 11.98 kB / 0.7679 GB, free: 6.84 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.148e-05/0.1614, allocations: 11.92 kB / 0.768 GB, free: 6.828 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 3.742e-05/0.1615, allocations: 15.98 kB / 0.768 GB, free: 6.812 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.123e-05/0.1615, allocations: 4 kB / 0.768 GB, free: 6.809 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 5.952e-05/0.1616, allocations: 15.98 kB / 0.768 GB, free: 6.793 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.559e-05/0.1616, allocations: 3.938 kB / 0.768 GB, free: 6.789 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.577e-05/0.1616, allocations: 11.94 kB / 0.768 GB, free: 6.777 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 9.973e-05/0.1617, allocations: 35.89 kB / 0.768 GB, free: 6.742 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1617, allocations: 0 / 0.768 GB, free: 6.742 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.423e-06/0.1617, allocations: 0 / 0.768 GB, free: 6.742 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.1617, allocations: 0 / 0.768 GB, free: 6.742 MB / 0.5606 GB 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.0004174/0.1622, allocations: 347.4 kB / 0.7684 GB, free: 6.352 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.1622, allocations: 8.031 kB / 0.7684 GB, free: 6.344 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001604/0.1624, allocations: 16.83 kB / 0.7684 GB, free: 6.328 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001117/0.1625, allocations: 172.3 kB / 0.7686 GB, free: 6.121 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.095e-05/0.1625, allocations: 4.375 kB / 0.7686 GB, free: 6.117 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.518e-06/0.1625, allocations: 4.375 kB / 0.7686 GB, free: 6.113 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001852/0.1627, allocations: 54.23 kB / 0.7686 GB, free: 6.055 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.1627, allocations: 4.125 kB / 0.7686 GB, free: 6.051 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.1627, allocations: 7.938 kB / 0.7686 GB, free: 6.043 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.1628, allocations: 0 / 0.7686 GB, free: 6.043 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002166/0.163, allocations: 51.94 kB / 0.7687 GB, free: 5.992 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003521/0.1633, allocations: 260.8 kB / 0.7689 GB, free: 5.688 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001655/0.1635, allocations: 58.47 kB / 0.769 GB, free: 5.621 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000109/0.1636, allocations: 32.89 kB / 0.769 GB, free: 5.586 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.281e-05/0.1636, allocations: 4 kB / 0.769 GB, free: 5.582 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.712e-05/0.1637, allocations: 30.56 kB / 0.769 GB, free: 5.543 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.1637, allocations: 0 / 0.769 GB, free: 5.543 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0003975/0.1641, allocations: 109.5 kB / 0.7692 GB, free: 5.43 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.019e-05/0.1641, allocations: 55.39 kB / 0.7692 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.55e-05/0.1642, allocations: 101.9 kB / 0.7693 GB, free: 5.254 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.276e-05/0.1642, allocations: 29.7 kB / 0.7693 GB, free: 5.219 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.604e-05/0.1643, allocations: 84.12 kB / 0.7694 GB, free: 5.133 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.658e-05/0.1643, allocations: 7.906 kB / 0.7694 GB, free: 5.125 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.396e-05/0.1643, allocations: 17.84 kB / 0.7694 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.862e-05/0.1644, allocations: 310.8 kB / 0.7697 GB, free: 4.789 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001071/0.1645, allocations: 27.97 kB / 0.7698 GB, free: 4.762 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.198e-05/0.1646, allocations: 19.98 kB / 0.7698 GB, free: 4.742 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001905/0.1648, allocations: 60.86 kB / 0.7698 GB, free: 4.68 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.1648, allocations: 0 / 0.7698 GB, free: 4.68 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002307/0.1651, allocations: 81.47 kB / 0.7699 GB, free: 4.594 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.1651, allocations: 8 kB / 0.7699 GB, free: 4.586 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.416e-06/0.1651, allocations: 0 / 0.7699 GB, free: 4.586 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.968e-06/0.1651, allocations: 0 / 0.7699 GB, free: 4.586 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.1652, allocations: 11.98 kB / 0.7699 GB, free: 4.574 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.1652, allocations: 4.031 kB / 0.7699 GB, free: 4.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.221e-05/0.1653, allocations: 11.98 kB / 0.7699 GB, free: 4.559 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.86e-06/0.1653, allocations: 0 / 0.7699 GB, free: 4.559 MB / 0.5606 GB 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.585e-05/0.1654, allocations: 114.4 kB / 0.7701 GB, free: 4.438 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.365e-05/0.1654, allocations: 0 / 0.7701 GB, free: 4.438 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.576e-05/0.1654, allocations: 11.77 kB / 0.7701 GB, free: 4.426 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.1654, allocations: 0 / 0.7701 GB, free: 4.426 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.1655, allocations: 8 kB / 0.7701 GB, free: 4.418 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.1655, allocations: 4 kB / 0.7701 GB, free: 4.414 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001544/0.1656, allocations: 161.6 kB / 0.7702 GB, free: 4.207 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.1656, allocations: 0 / 0.7702 GB, free: 4.207 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.762e-05/0.1657, allocations: 11.98 kB / 0.7702 GB, free: 4.195 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.1657, allocations: 0 / 0.7702 GB, free: 4.195 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.123e-06/0.1657, allocations: 0 / 0.7702 GB, free: 4.195 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.1657, allocations: 4 kB / 0.7702 GB, free: 4.191 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.1657, allocations: 3.938 kB / 0.7703 GB, free: 4.188 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002714/0.166, allocations: 191.3 kB / 0.7704 GB, free: 3.984 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.17e-05/0.1661, allocations: 77.11 kB / 0.7705 GB, free: 3.891 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.238e-05/0.1661, allocations: 0 / 0.7705 GB, free: 3.891 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.871e-05/0.1662, allocations: 7.984 kB / 0.7705 GB, free: 3.883 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.257e-05/0.1662, allocations: 4 kB / 0.7705 GB, free: 3.879 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.1662, allocations: 0 / 0.7705 GB, free: 3.879 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.871e-05/0.1663, allocations: 91.3 kB / 0.7706 GB, free: 3.789 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1663, allocations: 0 / 0.7706 GB, free: 3.789 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002108/0.1665, allocations: 4 kB / 0.7706 GB, free: 3.785 MB / 0.5606 GB 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.668e-05/0.1666, allocations: 95.25 kB / 0.7707 GB, free: 3.684 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002552/0.1668, allocations: 55.89 kB / 0.7708 GB, free: 3.629 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1668, allocations: 0 / 0.7708 GB, free: 3.629 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000105/0.167, allocations: 32.03 kB / 0.7708 GB, free: 3.598 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002408/0.1672, allocations: 3.938 kB / 0.7708 GB, free: 3.594 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002962/0.1675, allocations: 113.6 kB / 0.7709 GB, free: 3.457 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002046/0.1677, allocations: 0.6844 MB / 0.7716 GB, free: 2.746 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.096e-05/0.1678, allocations: 4.062 kB / 0.7716 GB, free: 2.742 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.935e-05/0.1678, allocations: 15.44 kB / 0.7716 GB, free: 2.727 MB / 0.5606 GB Notification: Performance of SimCode: time 2e-07/0.1678, allocations: 0 / 0.7716 GB, free: 2.727 MB / 0.5606 GB Notification: Performance of Templates: time 0.00233/0.1701, allocations: 0.5854 MB / 0.7722 GB, free: 2.148 MB / 0.5606 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)