Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.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.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",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.00139/0.00139, allocations: 107.9 kB / 16.41 MB, free: 6.508 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.001683/0.001683, allocations: 189.2 kB / 17.34 MB, free: 5.738 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.537/1.537, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8485/0.8485, allocations: 122.9 MB / 414.1 MB, free: 15.8 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 69.77 kB / 0.568 GB, free: 28.93 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1668/0.1681, allocations: 77.93 MB / 0.6441 GB, free: 9.461 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.002162/0.1703, allocations: 0.5908 MB / 0.6447 GB, free: 8.875 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007756/0.1711, allocations: 363 kB / 0.645 GB, free: 8.52 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.691e-05/0.1711, allocations: 0 / 0.645 GB, free: 8.52 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.666e-05/0.1712, allocations: 3.938 kB / 0.645 GB, free: 8.516 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.577e-05/0.1712, allocations: 0 / 0.645 GB, free: 8.516 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005234/0.1718, allocations: 119.6 kB / 0.6452 GB, free: 8.398 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.329e-05/0.1718, allocations: 15.98 kB / 0.6452 GB, free: 8.383 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.42e-05/0.1719, allocations: 7.938 kB / 0.6452 GB, free: 8.375 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.659e-05/0.1719, allocations: 15.91 kB / 0.6452 GB, free: 8.359 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.18e-05/0.172, allocations: 19.92 kB / 0.6452 GB, free: 8.34 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.654e-05/0.172, allocations: 4 kB / 0.6452 GB, free: 8.336 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003966/0.1724, allocations: 275.7 kB / 0.6455 GB, free: 8.066 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.791e-05/0.1725, allocations: 3.984 kB / 0.6455 GB, free: 8.062 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.346e-05/0.1725, allocations: 15.92 kB / 0.6455 GB, free: 8.047 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002228/0.1727, allocations: 99.94 kB / 0.6456 GB, free: 7.949 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.1727, allocations: 0 / 0.6456 GB, free: 7.949 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1727, allocations: 0 / 0.6456 GB, free: 7.949 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.1727, allocations: 0 / 0.6456 GB, free: 7.949 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005041/0.1733, allocations: 367.2 kB / 0.6459 GB, free: 7.539 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.1733, allocations: 8.625 kB / 0.646 GB, free: 7.531 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.365e-05/0.1734, allocations: 42.69 kB / 0.646 GB, free: 7.48 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.431e-05/0.1734, allocations: 0.9375 kB / 0.646 GB, free: 7.48 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001269/0.1736, allocations: 176.3 kB / 0.6462 GB, free: 7.27 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.1736, allocations: 384 / 0.6462 GB, free: 7.27 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.594e-05/0.1736, allocations: 4.375 kB / 0.6462 GB, free: 7.266 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001316/0.1738, allocations: 54.22 kB / 0.6462 GB, free: 7.207 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.1738, allocations: 11.88 kB / 0.6462 GB, free: 7.195 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.402e-05/0.1738, allocations: 4 kB / 0.6462 GB, free: 7.191 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.1738, allocations: 4 kB / 0.6462 GB, free: 7.188 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.165e-05/0.1739, allocations: 19.98 kB / 0.6463 GB, free: 7.168 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001946/0.1741, allocations: 169.6 kB / 0.6464 GB, free: 6.953 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001169/0.1742, allocations: 54.56 kB / 0.6465 GB, free: 6.891 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.099e-05/0.1743, allocations: 28.84 kB / 0.6465 GB, free: 6.859 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007313/0.175, allocations: 457.5 kB / 0.6469 GB, free: 6.32 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.895e-05/0.1751, allocations: 34.56 kB / 0.647 GB, free: 6.277 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 1.333e-06/0.1751, allocations: 0 / 0.647 GB, free: 6.277 MB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.001378/0.1764, allocations: 0.5918 MB / 0.6475 GB, free: 5.594 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.061e-05/0.1765, allocations: 55.41 kB / 0.6476 GB, free: 5.527 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.399e-05/0.1766, allocations: 101.9 kB / 0.6477 GB, free: 5.418 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.663e-05/0.1766, allocations: 33.64 kB / 0.6477 GB, free: 5.379 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.323e-05/0.1767, allocations: 80.14 kB / 0.6478 GB, free: 5.297 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.857e-05/0.1767, allocations: 39.64 kB / 0.6478 GB, free: 5.258 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.772e-05/0.1768, allocations: 29.72 kB / 0.6479 GB, free: 5.223 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.1769, allocations: 322.8 kB / 0.6482 GB, free: 4.898 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.642e-05/0.177, allocations: 19.98 kB / 0.6482 GB, free: 4.879 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.957e-05/0.177, allocations: 20 kB / 0.6482 GB, free: 4.859 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.45e-05/0.1771, allocations: 55.59 kB / 0.6483 GB, free: 4.805 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1771, allocations: 0 / 0.6483 GB, free: 4.805 MB / 494.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001717/0.1773, allocations: 101.6 kB / 0.6484 GB, free: 4.699 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.1773, allocations: 4 kB / 0.6484 GB, free: 4.695 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.1773, allocations: 4 kB / 0.6484 GB, free: 4.691 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.1774, allocations: 0 / 0.6484 GB, free: 4.691 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001122/0.1775, allocations: 31.92 kB / 0.6484 GB, free: 4.66 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.1775, allocations: 0 / 0.6484 GB, free: 4.66 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.677e-05/0.1775, allocations: 4 kB / 0.6484 GB, free: 4.656 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.1775, allocations: 4 kB / 0.6484 GB, free: 4.652 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 (13): * Single equations (assignments): 13 * 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.533e-05/0.1776, allocations: 113.8 kB / 0.6485 GB, free: 4.531 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.046e-05/0.1777, allocations: 7.891 kB / 0.6485 GB, free: 4.523 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002065/0.1779, allocations: 117.5 kB / 0.6486 GB, free: 4.398 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.1779, allocations: 4 kB / 0.6486 GB, free: 4.395 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.1779, allocations: 0 / 0.6486 GB, free: 4.395 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.1779, allocations: 0 / 0.6486 GB, free: 4.395 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004186/0.1783, allocations: 354.5 kB / 0.649 GB, free: 3.992 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.1783, allocations: 0 / 0.649 GB, free: 3.992 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001084/0.1785, allocations: 23.92 kB / 0.649 GB, free: 3.969 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.1785, allocations: 4 kB / 0.649 GB, free: 3.965 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.1785, allocations: 4 kB / 0.649 GB, free: 3.961 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.1785, allocations: 0 / 0.649 GB, free: 3.961 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1785, allocations: 0 / 0.649 GB, free: 3.961 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003001/0.1788, allocations: 227.7 kB / 0.6492 GB, free: 3.723 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.975e-05/0.1789, allocations: 85.09 kB / 0.6493 GB, free: 3.621 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.948e-05/0.1789, allocations: 3.984 kB / 0.6493 GB, free: 3.617 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.57e-05/0.179, allocations: 8 kB / 0.6493 GB, free: 3.609 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.969e-05/0.179, allocations: 3.938 kB / 0.6493 GB, free: 3.605 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.094e-05/0.179, allocations: 7.984 kB / 0.6493 GB, free: 3.598 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.154e-05/0.1791, allocations: 87.45 kB / 0.6494 GB, free: 3.512 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1791, allocations: 11.94 kB / 0.6494 GB, free: 3.5 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00029/0.1794, allocations: 39.88 kB / 0.6495 GB, free: 3.461 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * 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 (11): * Single equations (assignments): 11 * 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.0007358/0.1801, allocations: 0.7827 MB / 0.6502 GB, free: 2.652 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001876/0.1803, allocations: 71.84 kB / 0.6503 GB, free: 2.582 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1804, allocations: 0 / 0.6503 GB, free: 2.582 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.447e-05/0.1804, allocations: 32 kB / 0.6503 GB, free: 2.551 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002315/0.1807, allocations: 8.938 kB / 0.6503 GB, free: 2.543 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001375/0.182, allocations: 1.4 MB / 0.6517 GB, free: 1.066 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002885/0.1823, allocations: 0.6846 MB / 0.6524 GB, free: 364 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 6.023e-05/0.1824, allocations: 7.984 kB / 0.6524 GB, free: 356 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.398e-05/0.1825, allocations: 27.44 kB / 0.6524 GB, free: 328 kB / 494.1 MB Notification: Performance of SimCode: time 6.91e-07/0.1825, allocations: 0 / 0.6524 GB, free: 328 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02358/0.2061, allocations: 2.489 MB / 0.6548 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.461/7.667, allocations: 6.562 kB / 0.6548 GB, free: 13.97 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_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_RegNonZeroPowerDerivative_2_Check.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)