Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.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.Functions.Examples.RegNonZeroPower,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_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.001272/0.001272, allocations: 107.8 kB / 16.4 MB, free: 6.457 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.001467/0.001467, allocations: 193.2 kB / 17.34 MB, free: 5.715 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.404/1.404, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8345/0.8345, allocations: 126.7 MB / 417.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00199/0.00199, allocations: 64.98 kB / 0.5736 GB, free: 27.1 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1456/0.1476, allocations: 78.86 MB / 0.6506 GB, free: 3.586 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.00159/0.1493, allocations: 0.5727 MB / 0.6512 GB, free: 3.016 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006344/0.1499, allocations: 331.1 kB / 0.6515 GB, free: 2.691 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.499e-05/0.1499, allocations: 4 kB / 0.6515 GB, free: 2.688 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.369e-05/0.1499, allocations: 0 / 0.6515 GB, free: 2.688 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.681e-06/0.15, allocations: 3.938 kB / 0.6515 GB, free: 2.684 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004564/0.1504, allocations: 107.7 kB / 0.6516 GB, free: 2.578 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.834e-05/0.1505, allocations: 4 kB / 0.6516 GB, free: 2.574 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.966e-05/0.1505, allocations: 0 / 0.6516 GB, free: 2.574 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.163e-05/0.1505, allocations: 0 / 0.6516 GB, free: 2.574 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.971e-05/0.1506, allocations: 0 / 0.6516 GB, free: 2.574 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.777e-06/0.1506, allocations: 4 kB / 0.6516 GB, free: 2.57 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000443/0.151, allocations: 275.7 kB / 0.6518 GB, free: 2.301 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.356e-05/0.151, allocations: 7.969 kB / 0.6519 GB, free: 2.293 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.506e-05/0.1511, allocations: 0 / 0.6519 GB, free: 2.293 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001979/0.1513, allocations: 88.02 kB / 0.6519 GB, free: 2.207 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.1513, allocations: 0 / 0.6519 GB, free: 2.207 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1513, allocations: 0 / 0.6519 GB, free: 2.207 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.1513, allocations: 4 kB / 0.6519 GB, free: 2.203 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003399/0.1516, allocations: 331.3 kB / 0.6523 GB, free: 1.828 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.1517, allocations: 11.97 kB / 0.6523 GB, free: 1.816 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.185e-05/0.1517, allocations: 34.75 kB / 0.6523 GB, free: 1.773 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.378e-05/0.1518, allocations: 4.875 kB / 0.6523 GB, free: 1.77 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001071/0.1519, allocations: 160.4 kB / 0.6525 GB, free: 1.574 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.1519, allocations: 4.375 kB / 0.6525 GB, free: 1.57 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.461e-06/0.1519, allocations: 384 / 0.6525 GB, free: 1.57 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.383e-05/0.152, allocations: 30.27 kB / 0.6525 GB, free: 1.535 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.152, allocations: 3.938 kB / 0.6525 GB, free: 1.531 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.741e-06/0.1521, allocations: 3.938 kB / 0.6525 GB, free: 1.527 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.1521, allocations: 3.984 kB / 0.6525 GB, free: 1.523 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.944e-05/0.1521, allocations: 8 kB / 0.6525 GB, free: 1.516 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001427/0.1522, allocations: 141.7 kB / 0.6526 GB, free: 1.328 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.899e-05/0.1523, allocations: 22.55 kB / 0.6527 GB, free: 1.297 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.891e-05/0.1523, allocations: 8.859 kB / 0.6527 GB, free: 1.285 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005811/0.1529, allocations: 425.6 kB / 0.6531 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.22e-05/0.1529, allocations: 34.56 kB / 0.6531 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.192e-06/0.153, allocations: 0 / 0.6531 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001591/0.1531, allocations: 37.62 kB / 0.6532 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.75e-05/0.1532, allocations: 59.34 kB / 0.6532 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.112e-05/0.1532, allocations: 89.86 kB / 0.6533 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.66e-05/0.1533, allocations: 25.7 kB / 0.6533 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.607e-05/0.1533, allocations: 80.27 kB / 0.6534 GB, free: 420 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.118e-05/0.1533, allocations: 7.953 kB / 0.6534 GB, free: 412 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.636e-05/0.1534, allocations: 9.719 kB / 0.6534 GB, free: 396 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001599/0.1535, allocations: 318.8 kB / 0.6537 GB, free: 68 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.227e-06/0.1536, allocations: 0 / 0.6537 GB, free: 68 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.3e-06/0.1536, allocations: 0 / 0.6537 GB, free: 68 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.012e-05/0.1536, allocations: 12.84 kB / 0.6537 GB, free: 52 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.1536, allocations: 0 / 0.6537 GB, free: 52 kB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.809e-05/0.1537, allocations: 37.77 kB / 0.6538 GB, free: 8 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.1537, allocations: 8 kB / 0.6538 GB, free: 0 / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.614e-05/0.1537, allocations: 208 / 0.6538 GB, free: 16 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.1538, allocations: 7.875 kB / 0.6538 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.497e-05/0.1538, allocations: 0 / 0.6538 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.1538, allocations: 3.938 kB / 0.6538 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.937e-06/0.1538, allocations: 4 kB / 0.6538 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.959e-06/0.1538, allocations: 0 / 0.6538 GB, free: 15.98 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 (1): * Single equations (assignments): 1 * 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 9.236e-05/0.1539, allocations: 113.8 kB / 0.6539 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.839e-05/0.154, allocations: 4.031 kB / 0.6539 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.032e-05/0.1541, allocations: 40.77 kB / 0.6539 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.1541, allocations: 0 / 0.6539 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.1541, allocations: 0 / 0.6539 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.1541, allocations: 0 / 0.6539 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001414/0.1542, allocations: 145.7 kB / 0.6541 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1542, allocations: 0 / 0.6541 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.335e-05/0.1543, allocations: 4 kB / 0.6541 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.1543, allocations: 0 / 0.6541 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/0.1543, allocations: 11.97 kB / 0.6541 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.1543, allocations: 3.938 kB / 0.6541 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1543, allocations: 0 / 0.6541 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.714e-05/0.1544, allocations: 62.92 kB / 0.6542 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.66e-05/0.1544, allocations: 77.11 kB / 0.6542 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.282e-05/0.1545, allocations: 7.922 kB / 0.6542 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.622e-06/0.1545, allocations: 0 / 0.6542 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.387e-05/0.1545, allocations: 0 / 0.6542 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-06/0.1545, allocations: 8.031 kB / 0.6542 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.279e-05/0.1545, allocations: 79.28 kB / 0.6543 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1546, allocations: 0 / 0.6543 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001994/0.1548, allocations: 11.94 kB / 0.6543 GB, free: 15.32 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 (1): * Single equations (assignments): 1 * 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.0005116/0.1553, allocations: 0.6124 MB / 0.6549 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.732e-05/0.1554, allocations: 7.938 kB / 0.6549 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1554, allocations: 0 / 0.6549 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.526e-06/0.1554, allocations: 4 kB / 0.6549 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001215/0.1555, allocations: 1.719 kB / 0.6549 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002805/0.1558, allocations: 113.8 kB / 0.6551 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003304/0.1561, allocations: 0.6767 MB / 0.6557 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.824e-05/0.1562, allocations: 8.125 kB / 0.6557 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.641e-05/0.1562, allocations: 7.438 kB / 0.6557 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of SimCode: time 2.61e-07/0.1562, allocations: 3.938 kB / 0.6557 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02131/0.1775, allocations: 1.179 MB / 0.6569 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.94/8.117, allocations: 7.359 kB / 0.6569 GB, free: 12.7 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPower.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)