Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-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(BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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.0009024/0.0009024, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0008886/0.0008886, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.394/1.394, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.035/1.035, allocations: 143.3 MB / 434.3 MB, free: 13.73 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003041/0.0003041, allocations: 12 kB / 0.5158 GB, free: 11.36 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1574/0.1577, allocations: 83.4 MB / 0.5973 GB, free: 7.898 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized): time 0.001674/0.1594, allocations: 1.151 MB / 0.5984 GB, free: 6.734 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002407/0.1597, allocations: 92.62 kB / 0.5985 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.293e-05/0.1597, allocations: 3.938 kB / 0.5985 GB, free: 6.637 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.315e-05/0.1597, allocations: 7.984 kB / 0.5985 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.233e-05/0.1598, allocations: 7.922 kB / 0.5985 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001489/0.1599, allocations: 8 kB / 0.5985 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.511e-05/0.16, allocations: 15.97 kB / 0.5985 GB, free: 6.598 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.971e-05/0.1601, allocations: 8 kB / 0.5985 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.762e-05/0.1601, allocations: 7.984 kB / 0.5985 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.779e-05/0.1602, allocations: 11.94 kB / 0.5985 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.229e-05/0.1602, allocations: 0 / 0.5985 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.072e-05/0.1602, allocations: 11.98 kB / 0.5986 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.115e-05/0.1603, allocations: 7.984 kB / 0.5986 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.488e-05/0.1603, allocations: 33.64 kB / 0.5986 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 7.13e-05/0.1604, allocations: 23.97 kB / 0.5986 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.1604, allocations: 0 / 0.5986 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.252e-06/0.1604, allocations: 0 / 0.5986 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.093e-06/0.1604, allocations: 0 / 0.5986 GB, free: 6.488 MB / 0.4981 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.000399/0.1608, allocations: 342.1 kB / 0.5989 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.1608, allocations: 12.03 kB / 0.599 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000174/0.161, allocations: 15.98 kB / 0.599 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001169/0.1611, allocations: 175 kB / 0.5991 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.364e-05/0.1612, allocations: 4 kB / 0.5991 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.077e-05/0.1612, allocations: 0 / 0.5991 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001899/0.1614, allocations: 61.67 kB / 0.5992 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.1614, allocations: 4 kB / 0.5992 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.468e-06/0.1614, allocations: 0 / 0.5992 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.1614, allocations: 0 / 0.5992 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002243/0.1617, allocations: 67.88 kB / 0.5993 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004696/0.1621, allocations: 268.8 kB / 0.5995 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001812/0.1623, allocations: 66.53 kB / 0.5996 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.618e-05/0.1624, allocations: 3.938 kB / 0.5996 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.217e-05/0.1624, allocations: 34.62 kB / 0.5996 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.1624, allocations: 0 / 0.5996 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0004452/0.1628, allocations: 121.6 kB / 0.5997 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.232e-05/0.1629, allocations: 55.41 kB / 0.5998 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.621e-05/0.163, allocations: 105.8 kB / 0.5999 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.278e-05/0.163, allocations: 25.83 kB / 0.5999 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.285e-05/0.163, allocations: 88.14 kB / 0.6 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.611e-05/0.1631, allocations: 7.844 kB / 0.6 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.088e-06/0.1631, allocations: 0 / 0.6 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.1632, allocations: 318.8 kB / 0.6003 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000216/0.1634, allocations: 35.91 kB / 0.6004 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001016/0.1636, allocations: 35.97 kB / 0.6004 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000102/0.1637, allocations: 23.98 kB / 0.6004 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.1637, allocations: 0 / 0.6004 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000247/0.1639, allocations: 101.6 kB / 0.6005 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.1639, allocations: 8 kB / 0.6005 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.164, allocations: 0 / 0.6005 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.164, allocations: 4.031 kB / 0.6005 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.1641, allocations: 15.97 kB / 0.6005 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.1641, allocations: 4 kB / 0.6005 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.81e-05/0.1642, allocations: 11.98 kB / 0.6005 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.73e-06/0.1642, allocations: 0 / 0.6005 GB, free: 4.301 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.949e-05/0.1643, allocations: 113.8 kB / 0.6007 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.559e-05/0.1643, allocations: 11.91 kB / 0.6007 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.804e-05/0.1643, allocations: 3.781 kB / 0.6007 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.1643, allocations: 0 / 0.6007 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.1643, allocations: 4 kB / 0.6007 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.1644, allocations: 0 / 0.6007 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001625/0.1645, allocations: 169.6 kB / 0.6008 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1645, allocations: 0 / 0.6008 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.192e-05/0.1646, allocations: 15.98 kB / 0.6009 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.1646, allocations: 0 / 0.6009 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.274e-06/0.1646, allocations: 4 kB / 0.6009 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.1646, allocations: 0 / 0.6009 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/0.1647, allocations: 3.984 kB / 0.6009 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002861/0.1649, allocations: 195.3 kB / 0.601 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.115e-05/0.165, allocations: 81.11 kB / 0.6011 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.432e-05/0.165, allocations: 4 kB / 0.6011 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/0.1651, allocations: 11.98 kB / 0.6011 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.491e-05/0.1652, allocations: 3.984 kB / 0.6011 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.1652, allocations: 0 / 0.6011 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.603e-05/0.1652, allocations: 87.31 kB / 0.6012 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.4e-07/0.1652, allocations: 0 / 0.6012 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002233/0.1654, allocations: 8 kB / 0.6012 GB, free: 3.5 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001012/0.1655, allocations: 95.25 kB / 0.6013 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002688/0.1658, allocations: 75.88 kB / 0.6014 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1658, allocations: 0 / 0.6014 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001104/0.166, allocations: 23.98 kB / 0.6014 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001842/0.1661, allocations: 24 kB / 0.6014 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003531/0.1665, allocations: 124.7 kB / 0.6016 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002399/0.1668, allocations: 0.6809 MB / 0.6022 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.269e-05/0.1668, allocations: 8 kB / 0.6022 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.479e-05/0.1668, allocations: 7.438 kB / 0.6022 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of SimCode: time 3.41e-07/0.1668, allocations: 0 / 0.6022 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of Templates: time 0.002402/0.1692, allocations: 495.5 kB / 0.6027 GB, free: 1.93 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized.makefile Environment - environmentSimulation: (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) Environment - environmentSimulation: