Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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.RegNonZeroPowerDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",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.001542/0.001542, allocations: 109.8 kB / 16.41 MB, free: 6.5 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.001671/0.001671, 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.456/1.456, allocations: 222.9 MB / 241 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.8331/0.8331, allocations: 126.7 MB / 417.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001977/0.001977, allocations: 71.69 kB / 0.5736 GB, free: 27.06 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1675/0.1695, allocations: 78.86 MB / 0.6506 GB, free: 3.59 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001718/0.1713, allocations: 0.5766 MB / 0.6512 GB, free: 3.016 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007219/0.172, allocations: 347 kB / 0.6515 GB, free: 2.676 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.17e-05/0.172, allocations: 4 kB / 0.6515 GB, free: 2.672 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.762e-05/0.1721, allocations: 3.938 kB / 0.6515 GB, free: 2.668 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 2.058e-05/0.1721, allocations: 0 / 0.6515 GB, free: 2.668 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004748/0.1726, allocations: 113 kB / 0.6516 GB, free: 2.559 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.039e-05/0.1726, allocations: 8 kB / 0.6516 GB, free: 2.551 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.346e-05/0.1727, allocations: 7.984 kB / 0.6516 GB, free: 2.543 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.871e-05/0.1727, allocations: 3.938 kB / 0.6516 GB, free: 2.539 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.055e-05/0.1728, allocations: 11.94 kB / 0.6516 GB, free: 2.527 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.463e-05/0.1728, allocations: 0 / 0.6516 GB, free: 2.527 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004304/0.1732, allocations: 283.6 kB / 0.6519 GB, free: 2.25 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.08e-05/0.1733, allocations: 0 / 0.6519 GB, free: 2.25 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.278e-05/0.1733, allocations: 11.98 kB / 0.6519 GB, free: 2.238 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001917/0.1735, allocations: 91.95 kB / 0.652 GB, free: 2.148 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.1735, allocations: 3.984 kB / 0.652 GB, free: 2.145 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1735, allocations: 0 / 0.652 GB, free: 2.145 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.55e-06/0.1735, allocations: 0 / 0.652 GB, free: 2.145 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004111/0.1739, allocations: 339.3 kB / 0.6523 GB, free: 1.762 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.174, allocations: 12.03 kB / 0.6524 GB, free: 1.75 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.171e-05/0.174, allocations: 34.75 kB / 0.6524 GB, free: 1.707 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.85e-05/0.1741, allocations: 4.891 kB / 0.6524 GB, free: 1.703 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001369/0.1742, allocations: 160.4 kB / 0.6525 GB, free: 1.508 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.1742, allocations: 384 / 0.6525 GB, free: 1.508 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.717e-05/0.1743, allocations: 4.375 kB / 0.6525 GB, free: 1.504 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.916e-05/0.1744, allocations: 38.25 kB / 0.6526 GB, free: 1.461 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.789e-06/0.1744, allocations: 3.938 kB / 0.6526 GB, free: 1.457 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.594e-06/0.1744, allocations: 0 / 0.6526 GB, free: 1.457 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.1744, allocations: 4 kB / 0.6526 GB, free: 1.453 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.296e-05/0.1744, allocations: 7.938 kB / 0.6526 GB, free: 1.445 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001851/0.1746, allocations: 157.6 kB / 0.6528 GB, free: 1.242 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.894e-05/0.1747, allocations: 18.58 kB / 0.6528 GB, free: 1.215 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.718e-05/0.1747, allocations: 4.859 kB / 0.6528 GB, free: 1.207 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007892/0.1755, allocations: 465.5 kB / 0.6532 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.086e-05/0.1755, allocations: 30.56 kB / 0.6532 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.1755, allocations: 0 / 0.6532 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005428/0.1761, allocations: 258.5 kB / 0.6535 GB, free: 324 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.163e-05/0.1761, allocations: 51.41 kB / 0.6535 GB, free: 260 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.319e-05/0.1762, allocations: 105.8 kB / 0.6536 GB, free: 144 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.735e-05/0.1763, allocations: 25.7 kB / 0.6537 GB, free: 112 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.493e-05/0.1763, allocations: 80.14 kB / 0.6537 GB, free: 28 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.643e-05/0.1763, allocations: 15.88 kB / 0.6538 GB, free: 12 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.827e-05/0.1764, allocations: 13.72 kB / 0.6538 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001441/0.1765, allocations: 323 kB / 0.6541 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.819e-05/0.1766, allocations: 4 kB / 0.6541 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.066e-05/0.1766, allocations: 17.72 kB / 0.6541 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.633e-05/0.1767, allocations: 21.72 kB / 0.6541 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-07/0.1767, allocations: 0 / 0.6541 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001046/0.1768, allocations: 61.58 kB / 0.6542 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.1768, allocations: 15.94 kB / 0.6542 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.1768, allocations: 0 / 0.6542 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.1768, allocations: 4 kB / 0.6542 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.048e-05/0.1769, allocations: 4 kB / 0.6542 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.1769, allocations: 3.984 kB / 0.6542 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.993e-05/0.1769, allocations: 4 kB / 0.6542 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.1769, allocations: 0 / 0.6542 GB, free: 15.52 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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.001e-05/0.177, allocations: 109.8 kB / 0.6543 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.375e-05/0.1771, allocations: 7.938 kB / 0.6543 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001271/0.1772, allocations: 61.17 kB / 0.6544 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.1772, allocations: 192 / 0.6544 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.1772, allocations: 0 / 0.6544 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.1772, allocations: 3.984 kB / 0.6544 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001296/0.1774, allocations: 153.7 kB / 0.6545 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.1774, allocations: 4 kB / 0.6545 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.364e-05/0.1774, allocations: 11.98 kB / 0.6545 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.1774, allocations: 3.938 kB / 0.6546 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.072e-06/0.1775, allocations: 0 / 0.6546 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1775, allocations: 4 kB / 0.6546 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1775, allocations: 0 / 0.6546 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001461/0.1776, allocations: 77.06 kB / 0.6546 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.729e-05/0.1777, allocations: 85.08 kB / 0.6547 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.265e-05/0.1777, allocations: 3.984 kB / 0.6547 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.512e-05/0.1777, allocations: 0 / 0.6547 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.156e-05/0.1778, allocations: 0 / 0.6547 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.182e-06/0.1778, allocations: 8.062 kB / 0.6547 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.822e-05/0.1778, allocations: 75.28 kB / 0.6548 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.464e-06/0.1778, allocations: 0 / 0.6548 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002198/0.178, allocations: 35.86 kB / 0.6548 GB, free: 14.78 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (3): * Single equations (assignments): 3 * 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.0005899/0.1786, allocations: 0.6398 MB / 0.6555 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001071/0.1788, allocations: 20 kB / 0.6555 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1788, allocations: 0 / 0.6555 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.331e-05/0.1788, allocations: 15.92 kB / 0.6555 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001402/0.1789, allocations: 2.625 kB / 0.6555 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001076/0.18, allocations: 1.129 MB / 0.6566 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000336/0.1804, allocations: 0.6807 MB / 0.6573 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.757e-05/0.1804, allocations: 8 kB / 0.6573 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.911e-05/0.1804, allocations: 11.44 kB / 0.6573 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of SimCode: time 3.3e-07/0.1805, allocations: 0 / 0.6573 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02553/0.206, allocations: 1.734 MB / 0.659 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.555/8.761, allocations: 11.55 kB / 0.659 GB, free: 10.53 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0008 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1)