Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006034/0.006034, allocations: 101.4 kB / 15.73 MB, free: 6.012 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.001379/0.001379, allocations: 193.5 kB / 16.67 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.224/1.224, allocations: 205.1 MB / 222.6 MB, free: 4.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.413/1.413, allocations: 251.7 MB / 0.5094 GB, free: 3.043 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 69.77 kB / 0.7258 GB, free: 8.984 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1655/0.1669, allocations: 104.7 MB / 0.828 GB, free: 172 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.002203/0.1691, allocations: 1.431 MB / 0.8294 GB, free: 14.72 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0005993/0.1697, allocations: 383.8 kB / 0.8298 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.903e-05/0.1698, allocations: 4 kB / 0.8298 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.567e-05/0.1698, allocations: 3.938 kB / 0.8298 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 3.393e-05/0.1699, allocations: 0 / 0.8298 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003783/0.1702, allocations: 125.2 kB / 0.8299 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 5.423e-05/0.1703, allocations: 19.92 kB / 0.83 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 7.609e-05/0.1704, allocations: 15.98 kB / 0.83 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.478e-05/0.1704, allocations: 11.94 kB / 0.83 GB, free: 14.17 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 3.341e-05/0.1705, allocations: 11.92 kB / 0.83 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.203e-05/0.1705, allocations: 4 kB / 0.83 GB, free: 14.15 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003476/0.1708, allocations: 279.6 kB / 0.8303 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.256e-05/0.1709, allocations: 4 kB / 0.8303 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.276e-05/0.1709, allocations: 11.94 kB / 0.8303 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.00017/0.1711, allocations: 103.8 kB / 0.8304 GB, free: 13.76 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.1711, allocations: 0 / 0.8304 GB, free: 13.76 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.092e-06/0.1711, allocations: 4 kB / 0.8304 GB, free: 13.76 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.529e-06/0.1711, allocations: 4 kB / 0.8304 GB, free: 13.75 MB / 0.6544 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.0003976/0.1715, allocations: 355.5 kB / 0.8307 GB, free: 13.36 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 2.911e-05/0.1715, allocations: 8.031 kB / 0.8307 GB, free: 13.35 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.101e-05/0.1716, allocations: 12.83 kB / 0.8307 GB, free: 13.34 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001071/0.1717, allocations: 168.3 kB / 0.8309 GB, free: 13.13 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.027e-06/0.1717, allocations: 384 / 0.8309 GB, free: 13.13 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.875e-06/0.1717, allocations: 384 / 0.8309 GB, free: 13.13 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001518/0.1719, allocations: 58.17 kB / 0.831 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/0.1719, allocations: 192 / 0.831 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-06/0.1719, allocations: 3.938 kB / 0.831 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.407e-06/0.1719, allocations: 4 kB / 0.831 GB, free: 13.06 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001353/0.172, allocations: 27.97 kB / 0.831 GB, free: 13.04 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002788/0.1723, allocations: 260.9 kB / 0.8312 GB, free: 12.73 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001216/0.1725, allocations: 46.48 kB / 0.8313 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.363e-05/0.1725, allocations: 24.91 kB / 0.8313 GB, free: 12.65 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005908/0.1731, allocations: 461.3 kB / 0.8317 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.138e-05/0.1732, allocations: 30.56 kB / 0.8318 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.1732, allocations: 0 / 0.8318 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0003189/0.1735, allocations: 81.64 kB / 0.8319 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.741e-05/0.1735, allocations: 55.41 kB / 0.8319 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.15e-05/0.1736, allocations: 110 kB / 0.832 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.144e-05/0.1736, allocations: 25.7 kB / 0.832 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.113e-05/0.1737, allocations: 88.14 kB / 0.8321 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.407e-05/0.1737, allocations: 7.844 kB / 0.8321 GB, free: 11.67 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.898e-05/0.1737, allocations: 17.7 kB / 0.8321 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.146e-05/0.1738, allocations: 314.8 kB / 0.8324 GB, free: 11.33 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.137e-05/0.1739, allocations: 11.98 kB / 0.8325 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.27e-05/0.174, allocations: 27.92 kB / 0.8325 GB, free: 11.29 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001327/0.1741, allocations: 40.81 kB / 0.8325 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.1741, allocations: 0 / 0.8325 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000176/0.1743, allocations: 65.61 kB / 0.8326 GB, free: 11.18 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.1743, allocations: 8.078 kB / 0.8326 GB, free: 11.17 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.1743, allocations: 4 kB / 0.8326 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.033e-05/0.1743, allocations: 0 / 0.8326 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.912e-05/0.1744, allocations: 8 kB / 0.8326 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.1744, allocations: 3.984 kB / 0.8326 GB, free: 11.15 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.135e-05/0.1745, allocations: 11.98 kB / 0.8326 GB, free: 11.14 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.669e-06/0.1745, allocations: 0 / 0.8326 GB, free: 11.14 MB / 0.6544 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.713e-05/0.1746, allocations: 119.5 kB / 0.8327 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.425e-05/0.1746, allocations: 3.906 kB / 0.8327 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002013/0.1748, allocations: 81.17 kB / 0.8328 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.1748, allocations: 0 / 0.8328 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.1748, allocations: 0 / 0.8328 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.913e-06/0.1748, allocations: 0 / 0.8328 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001425/0.175, allocations: 161.9 kB / 0.833 GB, free: 10.72 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.175, allocations: 0 / 0.833 GB, free: 10.72 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.282e-05/0.175, allocations: 11.98 kB / 0.833 GB, free: 10.71 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.175, allocations: 0 / 0.833 GB, free: 10.71 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-06/0.1751, allocations: 4.031 kB / 0.833 GB, free: 10.7 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.1751, allocations: 4 kB / 0.833 GB, free: 10.7 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1751, allocations: 3.938 kB / 0.833 GB, free: 10.7 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002225/0.1753, allocations: 167.4 kB / 0.8332 GB, free: 10.52 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.023e-05/0.1753, allocations: 77.11 kB / 0.8332 GB, free: 10.42 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.244e-05/0.1754, allocations: 3.984 kB / 0.8332 GB, free: 10.42 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.385e-05/0.1754, allocations: 8.031 kB / 0.8332 GB, free: 10.41 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.049e-05/0.1755, allocations: 4 kB / 0.8332 GB, free: 10.41 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.1755, allocations: 3.984 kB / 0.8332 GB, free: 10.4 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.258e-05/0.1755, allocations: 87.27 kB / 0.8333 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1755, allocations: 0 / 0.8333 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.00022/0.1757, allocations: 16 kB / 0.8333 GB, free: 10.3 MB / 0.6544 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 0.0001511/0.1759, allocations: 107.2 kB / 0.8334 GB, free: 10.19 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000195/0.1761, allocations: 47.91 kB / 0.8335 GB, free: 10.14 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1761, allocations: 0 / 0.8335 GB, free: 10.14 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 7.175e-05/0.1762, allocations: 15.98 kB / 0.8335 GB, free: 10.12 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002396/0.1764, allocations: 15.86 kB / 0.8335 GB, free: 10.11 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002561/0.1767, allocations: 113.5 kB / 0.8336 GB, free: 9.973 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002358/0.1769, allocations: 0.6846 MB / 0.8343 GB, free: 9.262 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.068e-05/0.177, allocations: 0 / 0.8343 GB, free: 9.262 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.003e-05/0.177, allocations: 11.42 kB / 0.8343 GB, free: 9.25 MB / 0.6544 GB Notification: Performance of SimCode: time 2.3e-07/0.177, allocations: 0 / 0.8343 GB, free: 9.25 MB / 0.6544 GB Notification: Performance of Templates: time 0.002557/0.1796, allocations: 0.7098 MB / 0.835 GB, free: 8.543 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)