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.001294/0.001294, allocations: 107.5 kB / 16.41 MB, free: 6.43 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.00122/0.00122, allocations: 189.2 kB / 17.34 MB, free: 5.727 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.399/1.399, allocations: 222.9 MB / 241.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8349/0.8349, allocations: 126.7 MB / 417.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002098/0.002098, allocations: 66.11 kB / 0.5736 GB, free: 26.98 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1676/0.1697, allocations: 78.87 MB / 0.6506 GB, free: 3.508 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001824/0.1716, allocations: 0.5999 MB / 0.6512 GB, free: 2.91 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007405/0.1723, allocations: 362.9 kB / 0.6515 GB, free: 2.555 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.277e-05/0.1724, allocations: 4 kB / 0.6515 GB, free: 2.551 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.221e-05/0.1724, allocations: 0 / 0.6515 GB, free: 2.551 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.583e-05/0.1724, allocations: 3.938 kB / 0.6515 GB, free: 2.547 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004933/0.1729, allocations: 108.9 kB / 0.6517 GB, free: 2.441 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.869e-05/0.173, allocations: 31.91 kB / 0.6517 GB, free: 2.41 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.832e-05/0.1731, allocations: 4 kB / 0.6517 GB, free: 2.406 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.823e-05/0.1731, allocations: 7.938 kB / 0.6517 GB, free: 2.398 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.303e-05/0.1732, allocations: 23.91 kB / 0.6517 GB, free: 2.375 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.521e-05/0.1732, allocations: 0 / 0.6517 GB, free: 2.375 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000452/0.1737, allocations: 283.6 kB / 0.652 GB, free: 2.098 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.578e-05/0.1737, allocations: 4 kB / 0.652 GB, free: 2.094 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.351e-05/0.1737, allocations: 11.94 kB / 0.652 GB, free: 2.082 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002332/0.174, allocations: 103.9 kB / 0.6521 GB, free: 1.98 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.526e-06/0.174, allocations: 3.984 kB / 0.6521 GB, free: 1.977 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.174, allocations: 0 / 0.6521 GB, free: 1.977 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.071e-06/0.174, allocations: 0 / 0.6521 GB, free: 1.977 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.0005598/0.1746, allocations: 355.2 kB / 0.6524 GB, free: 1.578 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.1746, allocations: 16.03 kB / 0.6525 GB, free: 1.562 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.827e-05/0.1747, allocations: 34.73 kB / 0.6525 GB, free: 1.52 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.278e-05/0.1747, allocations: 8.938 kB / 0.6525 GB, free: 1.512 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00016/0.1749, allocations: 168.3 kB / 0.6527 GB, free: 1.309 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.1749, allocations: 4.375 kB / 0.6527 GB, free: 1.305 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.292e-05/0.175, allocations: 384 / 0.6527 GB, free: 1.305 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001508/0.1751, allocations: 58.12 kB / 0.6527 GB, free: 1.242 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.291e-05/0.1751, allocations: 15.91 kB / 0.6527 GB, free: 1.227 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.1752, allocations: 0 / 0.6527 GB, free: 1.227 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.1752, allocations: 4 kB / 0.6527 GB, free: 1.223 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.588e-05/0.1753, allocations: 19.98 kB / 0.6528 GB, free: 1.203 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002719/0.1755, allocations: 169.7 kB / 0.6529 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001126/0.1757, allocations: 54.56 kB / 0.653 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.325e-05/0.1757, allocations: 32.78 kB / 0.653 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000762/0.1765, allocations: 461.5 kB / 0.6534 GB, free: 356 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.904e-05/0.1765, allocations: 30.56 kB / 0.6535 GB, free: 316 kB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.1765, allocations: 0 / 0.6535 GB, free: 316 kB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.00143/0.178, allocations: 0.5918 MB / 0.6541 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.746e-05/0.178, allocations: 51.41 kB / 0.6541 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.099e-05/0.1781, allocations: 93.86 kB / 0.6542 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.409e-05/0.1781, allocations: 33.7 kB / 0.6542 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.7e-05/0.1782, allocations: 80.14 kB / 0.6543 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.747e-05/0.1782, allocations: 35.69 kB / 0.6543 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.664e-05/0.1783, allocations: 33.8 kB / 0.6544 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001528/0.1785, allocations: 322.8 kB / 0.6547 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.9e-05/0.1786, allocations: 19.98 kB / 0.6547 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.433e-05/0.1786, allocations: 23.98 kB / 0.6547 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001079/0.1787, allocations: 55.67 kB / 0.6548 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.1787, allocations: 0 / 0.6548 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001685/0.1789, allocations: 101.6 kB / 0.6549 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.1789, allocations: 8 kB / 0.6549 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.1789, allocations: 0 / 0.6549 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.179, allocations: 8 kB / 0.6549 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001035/0.1791, allocations: 19.98 kB / 0.6549 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.1791, allocations: 4 kB / 0.6549 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.455e-05/0.1791, allocations: 4 kB / 0.6549 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.099e-05/0.1791, allocations: 7.984 kB / 0.6549 GB, free: 14.69 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 (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 0.0001048/0.1792, allocations: 117.8 kB / 0.655 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.237e-05/0.1793, allocations: 11.89 kB / 0.655 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002124/0.1795, allocations: 109.6 kB / 0.6551 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.1795, allocations: 4.188 kB / 0.6551 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.1795, allocations: 0 / 0.6551 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.1795, allocations: 3.984 kB / 0.6551 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004772/0.18, allocations: 358.4 kB / 0.6555 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.18, allocations: 0 / 0.6555 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001094/0.1801, allocations: 19.98 kB / 0.6555 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.1801, allocations: 0 / 0.6555 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.1802, allocations: 4 kB / 0.6555 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.1802, allocations: 0 / 0.6555 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1802, allocations: 0 / 0.6555 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003242/0.1805, allocations: 227.3 kB / 0.6557 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.522e-05/0.1806, allocations: 85.09 kB / 0.6558 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.516e-05/0.1806, allocations: 4.031 kB / 0.6558 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.041e-05/0.1807, allocations: 4 kB / 0.6558 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.815e-05/0.1807, allocations: 7.984 kB / 0.6558 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.194e-05/0.1808, allocations: 4 kB / 0.6558 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.562e-05/0.1808, allocations: 79.22 kB / 0.6559 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1808, allocations: 8.062 kB / 0.6559 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002944/0.1811, allocations: 47.86 kB / 0.656 GB, free: 13.5 MB / 0.4981 GB 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.0008069/0.1819, allocations: 0.7864 MB / 0.6567 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001718/0.1821, allocations: 67.84 kB / 0.6568 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.1821, allocations: 0 / 0.6568 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.392e-05/0.1822, allocations: 40.05 kB / 0.6568 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002362/0.1824, allocations: 4 kB / 0.6568 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001519/0.184, allocations: 1.4 MB / 0.6582 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003668/0.1843, allocations: 0.6885 MB / 0.6589 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.302e-05/0.1844, allocations: 4 kB / 0.6589 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.298e-05/0.1844, allocations: 15.44 kB / 0.6589 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of SimCode: time 2.6e-07/0.1845, allocations: 4 kB / 0.6589 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02506/0.2095, allocations: 2.496 MB / 0.6613 GB, free: 8.016 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.157/8.367, allocations: 5.375 kB / 0.6613 GB, free: 8.016 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)