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.001743/0.001743, allocations: 109.8 kB / 16.41 MB, free: 6.496 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.00172/0.00172, allocations: 189.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.434/1.434, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8159/0.8159, allocations: 126.7 MB / 417.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001913/0.001913, allocations: 78.92 kB / 0.5735 GB, free: 27.12 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.148, allocations: 78.87 MB / 0.6506 GB, free: 3.578 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.RegNonZeroPower): time 0.002615/0.1507, allocations: 1.428 MB / 0.652 GB, free: 2.137 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000785/0.1515, allocations: 389.3 kB / 0.6523 GB, free: 1.754 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.425e-05/0.1516, allocations: 0 / 0.6523 GB, free: 1.754 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.259e-05/0.1516, allocations: 0 / 0.6523 GB, free: 1.754 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.023e-05/0.1517, allocations: 7.938 kB / 0.6523 GB, free: 1.746 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004166/0.1521, allocations: 111.7 kB / 0.6524 GB, free: 1.637 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.23e-05/0.1522, allocations: 23.91 kB / 0.6525 GB, free: 1.613 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.226e-05/0.1523, allocations: 8 kB / 0.6525 GB, free: 1.605 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.234e-05/0.1523, allocations: 19.92 kB / 0.6525 GB, free: 1.586 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.421e-05/0.1523, allocations: 7.938 kB / 0.6525 GB, free: 1.578 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.164e-05/0.1524, allocations: 0 / 0.6525 GB, free: 1.578 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004023/0.1528, allocations: 283.6 kB / 0.6528 GB, free: 1.301 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.254e-05/0.1528, allocations: 7.938 kB / 0.6528 GB, free: 1.293 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.811e-05/0.1528, allocations: 15.92 kB / 0.6528 GB, free: 1.277 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002077/0.153, allocations: 111.9 kB / 0.6529 GB, free: 1.168 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.1531, allocations: 0 / 0.6529 GB, free: 1.168 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1531, allocations: 0 / 0.6529 GB, free: 1.168 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.601e-06/0.1531, allocations: 0 / 0.6529 GB, free: 1.168 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.0004898/0.1536, allocations: 371.1 kB / 0.6533 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.1536, allocations: 8.031 kB / 0.6533 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.274e-05/0.1536, allocations: 30.75 kB / 0.6533 GB, free: 0.707 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.619e-05/0.1537, allocations: 8.891 kB / 0.6533 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001358/0.1538, allocations: 164.4 kB / 0.6535 GB, free: 0.5 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.606e-06/0.1539, allocations: 4.375 kB / 0.6535 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.056e-05/0.1539, allocations: 4.375 kB / 0.6535 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001728/0.154, allocations: 42.25 kB / 0.6535 GB, free: 456 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.1541, allocations: 11.92 kB / 0.6535 GB, free: 444 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.1541, allocations: 7.984 kB / 0.6535 GB, free: 436 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.487e-06/0.1541, allocations: 0 / 0.6535 GB, free: 436 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001678/0.1543, allocations: 35.91 kB / 0.6536 GB, free: 400 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003284/0.1546, allocations: 245 kB / 0.6538 GB, free: 104 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001243/0.1547, allocations: 42.5 kB / 0.6538 GB, free: 52 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.657e-05/0.1548, allocations: 28.91 kB / 0.6539 GB, free: 20 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007556/0.1556, allocations: 461.5 kB / 0.6543 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.579e-05/0.1556, allocations: 34.5 kB / 0.6543 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.143e-06/0.1556, allocations: 0 / 0.6543 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.00037/0.156, allocations: 89.53 kB / 0.6544 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.786e-05/0.1561, allocations: 51.41 kB / 0.6545 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.172e-05/0.1561, allocations: 106 kB / 0.6546 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.556e-05/0.1562, allocations: 29.7 kB / 0.6546 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.063e-05/0.1562, allocations: 88.14 kB / 0.6547 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.708e-05/0.1563, allocations: 3.953 kB / 0.6547 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.11e-05/0.1563, allocations: 13.72 kB / 0.6547 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.1564, allocations: 318.8 kB / 0.655 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.53e-05/0.1565, allocations: 15.98 kB / 0.655 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.729e-05/0.1566, allocations: 19.98 kB / 0.655 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001557/0.1568, allocations: 40.75 kB / 0.6551 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.1568, allocations: 3.938 kB / 0.6551 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002162/0.157, allocations: 65.92 kB / 0.6551 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.157, allocations: 8 kB / 0.6551 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.848e-06/0.157, allocations: 0 / 0.6551 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.1571, allocations: 4.094 kB / 0.6552 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.872e-05/0.1571, allocations: 15.98 kB / 0.6552 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.067e-06/0.1572, allocations: 0 / 0.6552 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.771e-05/0.1572, allocations: 11.92 kB / 0.6552 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.709e-06/0.1572, allocations: 0 / 0.6552 GB, free: 14.5 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.522e-05/0.1573, allocations: 109.8 kB / 0.6553 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.749e-05/0.1573, allocations: 7.953 kB / 0.6553 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002406/0.1576, allocations: 85.06 kB / 0.6554 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.1576, allocations: 0 / 0.6554 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/0.1576, allocations: 3.984 kB / 0.6554 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.1576, allocations: 0 / 0.6554 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001876/0.1578, allocations: 157.6 kB / 0.6555 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.1578, allocations: 0 / 0.6555 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.947e-05/0.1579, allocations: 15.98 kB / 0.6555 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.1579, allocations: 0 / 0.6555 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.951e-06/0.1579, allocations: 0 / 0.6555 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1579, allocations: 4.031 kB / 0.6555 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.1579, allocations: 0 / 0.6555 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002587/0.1582, allocations: 167.4 kB / 0.6557 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.116e-05/0.1582, allocations: 81.05 kB / 0.6558 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.373e-05/0.1583, allocations: 4 kB / 0.6558 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.403e-05/0.1583, allocations: 8.016 kB / 0.6558 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.117e-05/0.1584, allocations: 4 kB / 0.6558 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.946e-06/0.1584, allocations: 0 / 0.6558 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.958e-05/0.1584, allocations: 87.27 kB / 0.6559 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1584, allocations: 0 / 0.6559 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002252/0.1587, allocations: 16 kB / 0.6559 GB, free: 13.67 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 (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.0006529/0.1593, allocations: 0.7123 MB / 0.6566 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002479/0.1596, allocations: 43.89 kB / 0.6566 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.1596, allocations: 0 / 0.6566 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.823e-05/0.1597, allocations: 19.98 kB / 0.6567 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003064/0.16, allocations: 6.031 kB / 0.6567 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000436/0.1605, allocations: 143.2 kB / 0.6568 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003555/0.1608, allocations: 0.6768 MB / 0.6575 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.567e-05/0.1609, allocations: 4.188 kB / 0.6575 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.568e-05/0.1609, allocations: 15.44 kB / 0.6575 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1609, allocations: 0 / 0.6575 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05667/0.2176, allocations: 1.6 MB / 0.659 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.179/8.397, allocations: 17.72 kB / 0.6591 GB, free: 10.42 MB / 0.4981 GB (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)