Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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: "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001999/0.001999, allocations: 110.2 kB / 16.41 MB, free: 6.492 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.002042/0.002042, allocations: 191.2 kB / 17.34 MB, free: 5.762 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.534/1.534, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7472/0.7472, allocations: 122.9 MB / 414.1 MB, free: 15.82 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 64.48 kB / 0.568 GB, free: 28.96 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1669/0.1682, allocations: 77.94 MB / 0.6441 GB, free: 9.508 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.RegNonZeroPower): time 0.003107/0.1713, allocations: 1.427 MB / 0.6455 GB, free: 8.074 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008647/0.1722, allocations: 387.5 kB / 0.6458 GB, free: 7.691 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.686e-05/0.1723, allocations: 0 / 0.6458 GB, free: 7.691 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.723e-05/0.1724, allocations: 3.938 kB / 0.6458 GB, free: 7.688 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.661e-05/0.1724, allocations: 0 / 0.6458 GB, free: 7.688 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006168/0.1731, allocations: 111.6 kB / 0.6459 GB, free: 7.578 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.243e-05/0.1732, allocations: 35.91 kB / 0.646 GB, free: 7.543 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.1733, allocations: 8 kB / 0.646 GB, free: 7.535 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.185e-05/0.1734, allocations: 15.86 kB / 0.646 GB, free: 7.52 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.842e-05/0.1734, allocations: 7.984 kB / 0.646 GB, free: 7.512 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.82e-05/0.1734, allocations: 4 kB / 0.646 GB, free: 7.508 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004504/0.1739, allocations: 275.7 kB / 0.6463 GB, free: 7.238 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.894e-05/0.1739, allocations: 7.938 kB / 0.6463 GB, free: 7.23 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.458e-05/0.174, allocations: 15.92 kB / 0.6463 GB, free: 7.215 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002991/0.1743, allocations: 111.9 kB / 0.6464 GB, free: 7.105 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.1743, allocations: 0 / 0.6464 GB, free: 7.105 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.366e-06/0.1743, allocations: 4 kB / 0.6464 GB, free: 7.102 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.678e-06/0.1743, allocations: 0 / 0.6464 GB, free: 7.102 MB / 494.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.0006433/0.175, allocations: 365.2 kB / 0.6468 GB, free: 6.695 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.488e-05/0.175, allocations: 12.62 kB / 0.6468 GB, free: 6.684 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.139e-05/0.1751, allocations: 30.75 kB / 0.6468 GB, free: 6.645 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.497e-05/0.1751, allocations: 8.875 kB / 0.6468 GB, free: 6.637 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001444/0.1753, allocations: 168.4 kB / 0.647 GB, free: 6.434 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.828e-06/0.1753, allocations: 384 / 0.647 GB, free: 6.434 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.366e-05/0.1753, allocations: 384 / 0.647 GB, free: 6.434 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001956/0.1755, allocations: 58.17 kB / 0.647 GB, free: 6.371 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.1756, allocations: 3.938 kB / 0.647 GB, free: 6.367 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.677e-06/0.1756, allocations: 0 / 0.647 GB, free: 6.367 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.1756, allocations: 4 kB / 0.647 GB, free: 6.363 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000169/0.1757, allocations: 31.97 kB / 0.6471 GB, free: 6.332 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003526/0.1761, allocations: 249 kB / 0.6473 GB, free: 6.039 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001307/0.1763, allocations: 42.5 kB / 0.6473 GB, free: 5.988 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.792e-05/0.1764, allocations: 36.83 kB / 0.6474 GB, free: 5.949 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006939/0.1771, allocations: 453.5 kB / 0.6478 GB, free: 5.414 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.451e-05/0.1771, allocations: 38.56 kB / 0.6478 GB, free: 5.367 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.493e-06/0.1771, allocations: 0 / 0.6478 GB, free: 5.367 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003965/0.1775, allocations: 85.69 kB / 0.6479 GB, free: 5.277 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.599e-05/0.1776, allocations: 55.44 kB / 0.648 GB, free: 5.211 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.13e-05/0.1776, allocations: 109.8 kB / 0.6481 GB, free: 5.094 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.409e-05/0.1777, allocations: 25.7 kB / 0.6481 GB, free: 5.062 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.233e-05/0.1777, allocations: 84.14 kB / 0.6482 GB, free: 4.977 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.12e-05/0.1777, allocations: 3.953 kB / 0.6482 GB, free: 4.973 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.557e-05/0.1778, allocations: 17.7 kB / 0.6482 GB, free: 4.949 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.1779, allocations: 314.8 kB / 0.6485 GB, free: 4.633 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.072e-05/0.178, allocations: 23.92 kB / 0.6485 GB, free: 4.609 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.488e-05/0.1781, allocations: 15.98 kB / 0.6485 GB, free: 4.594 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001604/0.1783, allocations: 40.81 kB / 0.6486 GB, free: 4.551 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.1783, allocations: 3.938 kB / 0.6486 GB, free: 4.547 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002485/0.1785, allocations: 69.73 kB / 0.6486 GB, free: 4.473 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.1786, allocations: 7.984 kB / 0.6487 GB, free: 4.465 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.1786, allocations: 3.938 kB / 0.6487 GB, free: 4.461 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.16e-05/0.1786, allocations: 4 kB / 0.6487 GB, free: 4.457 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.021e-05/0.1787, allocations: 4 kB / 0.6487 GB, free: 4.453 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.1787, allocations: 0 / 0.6487 GB, free: 4.453 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.036e-05/0.1788, allocations: 11.92 kB / 0.6487 GB, free: 4.441 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-06/0.1788, allocations: 0 / 0.6487 GB, free: 4.441 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 (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 8.605e-05/0.1789, allocations: 117.8 kB / 0.6488 GB, free: 4.316 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.826e-05/0.1789, allocations: 3.953 kB / 0.6488 GB, free: 4.312 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002555/0.1792, allocations: 81.11 kB / 0.6489 GB, free: 4.223 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.1792, allocations: 0 / 0.6489 GB, free: 4.223 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.1792, allocations: 0 / 0.6489 GB, free: 4.223 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-06/0.1792, allocations: 0 / 0.6489 GB, free: 4.223 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001854/0.1794, allocations: 161.6 kB / 0.649 GB, free: 4.016 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1794, allocations: 0 / 0.649 GB, free: 4.016 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.311e-05/0.1795, allocations: 12.02 kB / 0.649 GB, free: 4.004 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.1795, allocations: 0 / 0.649 GB, free: 4.004 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.1795, allocations: 4 kB / 0.649 GB, free: 4 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.1795, allocations: 0 / 0.649 GB, free: 4 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/0.1795, allocations: 256 / 0.649 GB, free: 4 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002797/0.1798, allocations: 167.4 kB / 0.6492 GB, free: 3.82 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.051e-05/0.1799, allocations: 85.09 kB / 0.6493 GB, free: 3.719 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.893e-05/0.1799, allocations: 11.98 kB / 0.6493 GB, free: 3.707 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.261e-05/0.18, allocations: 0 / 0.6493 GB, free: 3.707 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.355e-05/0.18, allocations: 8 kB / 0.6493 GB, free: 3.699 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.18, allocations: 3.938 kB / 0.6493 GB, free: 3.695 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.683e-05/0.1801, allocations: 83.27 kB / 0.6494 GB, free: 3.613 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1801, allocations: 0 / 0.6494 GB, free: 3.613 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002404/0.1803, allocations: 12 kB / 0.6494 GB, free: 3.602 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 (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.0006553/0.181, allocations: 0.7279 MB / 0.6501 GB, free: 2.848 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002217/0.1812, allocations: 31.97 kB / 0.6501 GB, free: 2.816 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.1812, allocations: 4.094 kB / 0.6501 GB, free: 2.812 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.771e-05/0.1813, allocations: 19.98 kB / 0.6502 GB, free: 2.793 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003049/0.1816, allocations: 7.984 kB / 0.6502 GB, free: 2.785 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003891/0.182, allocations: 143 kB / 0.6503 GB, free: 2.605 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002516/0.1823, allocations: 0.6768 MB / 0.651 GB, free: 1.902 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.598e-05/0.1823, allocations: 4 kB / 0.651 GB, free: 1.898 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.523e-05/0.1824, allocations: 15.5 kB / 0.651 GB, free: 1.883 MB / 494.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1824, allocations: 3.938 kB / 0.651 GB, free: 1.879 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01644/0.1989, allocations: 1.593 MB / 0.6525 GB, free: 372 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.517/7.716, allocations: 8.641 kB / 0.6526 GB, free: 368 kB / 494.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Utilities_Math_Examples_RegNonZeroPower.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)