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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008776/0.0008776, allocations: 72.5 kB / 19.92 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001416/0.001416, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9315/0.9315, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5773/0.5773, allocations: 114 MB / 373.9 MB, free: 8.707 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.465e-06/2.465e-06, allocations: 0 / 0.5542 GB, free: 1.637 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.446e-05/2.692e-05, allocations: 13.83 kB / 0.5543 GB, free: 1.625 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.00192/0.001947, allocations: 0.6063 MB / 0.5549 GB, free: 1.023 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007615/0.002708, allocations: 318.8 kB / 0.5552 GB, free: 0.7109 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.298e-05/0.002741, allocations: 0 / 0.5552 GB, free: 0.7109 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 1.801e-05/0.002759, allocations: 4 kB / 0.5552 GB, free: 0.707 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 3.161e-05/0.002791, allocations: 3.938 kB / 0.5552 GB, free: 0.7031 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005108/0.003302, allocations: 119.5 kB / 0.5553 GB, free: 0.5859 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 6.947e-05/0.003371, allocations: 19.92 kB / 0.5553 GB, free: 0.5664 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.372e-05/0.003415, allocations: 8 kB / 0.5553 GB, free: 0.5586 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.03e-05/0.003495, allocations: 19.97 kB / 0.5553 GB, free: 0.5391 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.573e-05/0.003561, allocations: 11.92 kB / 0.5553 GB, free: 0.5273 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 3.302e-05/0.003594, allocations: 0 / 0.5553 GB, free: 0.5273 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002528/0.003847, allocations: 263.6 kB / 0.5556 GB, free: 276 kB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 1.556e-05/0.003862, allocations: 7.969 kB / 0.5556 GB, free: 268 kB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 1.73e-05/0.00388, allocations: 8 kB / 0.5556 GB, free: 260 kB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001663/0.004046, allocations: 127.7 kB / 0.5557 GB, free: 132 kB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.004048, allocations: 0 / 0.5557 GB, free: 132 kB / 474.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.004049, allocations: 0 / 0.5557 GB, free: 132 kB / 474.7 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.004055, allocations: 0 / 0.5557 GB, free: 132 kB / 474.7 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.0003622/0.004417, allocations: 286.6 kB / 0.556 GB, free: 15.82 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.004461, allocations: 12.62 kB / 0.556 GB, free: 15.8 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.422e-05/0.004495, allocations: 30.75 kB / 0.556 GB, free: 15.77 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.986e-05/0.004545, allocations: 12.89 kB / 0.556 GB, free: 15.75 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.852e-05/0.004633, allocations: 113.7 kB / 0.5562 GB, free: 15.62 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.648e-06/0.004643, allocations: 4.375 kB / 0.5562 GB, free: 15.61 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.848e-05/0.004661, allocations: 384 / 0.5562 GB, free: 15.61 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001153/0.004777, allocations: 105.6 kB / 0.5563 GB, free: 15.49 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.004785, allocations: 4.125 kB / 0.5563 GB, free: 15.49 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.004794, allocations: 384 / 0.5563 GB, free: 15.49 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.0048, allocations: 8.125 kB / 0.5563 GB, free: 15.48 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.32e-05/0.004843, allocations: 15.98 kB / 0.5563 GB, free: 15.46 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001297/0.004973, allocations: 144.6 kB / 0.5564 GB, free: 15.28 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.544e-05/0.005059, allocations: 62.48 kB / 0.5565 GB, free: 15.21 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.011e-05/0.005089, allocations: 28.84 kB / 0.5565 GB, free: 15.18 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003166/0.005405, allocations: 71.92 kB / 0.5566 GB, free: 15.11 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.021e-05/0.005426, allocations: 34.56 kB / 0.5566 GB, free: 15.07 MB / 490.7 MB Notification: Performance of pre-optimization done (n=7): time 8.02e-07/0.005426, allocations: 4 kB / 0.5566 GB, free: 15.06 MB / 490.7 MB Notification: Performance of matching and sorting (n=11): time 0.0008066/0.006233, allocations: 447.4 kB / 0.557 GB, free: 14.57 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.664e-05/0.00626, allocations: 51.41 kB / 0.5571 GB, free: 14.51 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.583e-05/0.006305, allocations: 97.84 kB / 0.5572 GB, free: 14.4 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.297e-05/0.006318, allocations: 33.7 kB / 0.5572 GB, free: 14.36 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.365e-05/0.006342, allocations: 80.14 kB / 0.5573 GB, free: 14.28 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.207e-05/0.006374, allocations: 43.58 kB / 0.5573 GB, free: 14.24 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.227e-05/0.006406, allocations: 29.72 kB / 0.5574 GB, free: 14.2 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.104e-05/0.006487, allocations: 322.8 kB / 0.5577 GB, free: 13.88 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.826e-05/0.006516, allocations: 19.94 kB / 0.5577 GB, free: 13.86 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.61e-05/0.006542, allocations: 23.98 kB / 0.5577 GB, free: 13.84 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.359e-05/0.006605, allocations: 56.78 kB / 0.5578 GB, free: 13.78 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/0.006606, allocations: 0 / 0.5578 GB, free: 13.78 MB / 490.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001027/0.006709, allocations: 104.1 kB / 0.5579 GB, free: 13.67 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.006723, allocations: 7.938 kB / 0.5579 GB, free: 13.66 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.006727, allocations: 0 / 0.5579 GB, free: 13.66 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.006739, allocations: 0 / 0.5579 GB, free: 13.66 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.367e-05/0.006813, allocations: 27.92 kB / 0.5579 GB, free: 13.64 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.006818, allocations: 4 kB / 0.5579 GB, free: 13.63 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.302e-05/0.006831, allocations: 4 kB / 0.5579 GB, free: 13.63 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.006838, allocations: 4 kB / 0.5579 GB, free: 13.62 MB / 490.7 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 5.431e-05/0.006892, allocations: 113.8 kB / 0.558 GB, free: 13.5 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.278e-05/0.006905, allocations: 0 / 0.558 GB, free: 13.5 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001248/0.00703, allocations: 117.7 kB / 0.5581 GB, free: 13.38 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-06/0.007031, allocations: 0 / 0.5581 GB, free: 13.38 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.007035, allocations: 3.938 kB / 0.5581 GB, free: 13.38 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.007038, allocations: 0 / 0.5581 GB, free: 13.38 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002601/0.007298, allocations: 323.8 kB / 0.5585 GB, free: 13.02 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.007299, allocations: 4 kB / 0.5585 GB, free: 13.01 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.794e-05/0.007367, allocations: 27.92 kB / 0.5585 GB, free: 12.98 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.007368, allocations: 0 / 0.5585 GB, free: 12.98 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-06/0.007375, allocations: 4.188 kB / 0.5585 GB, free: 12.98 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.007376, allocations: 0 / 0.5585 GB, free: 12.98 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.007377, allocations: 0 / 0.5585 GB, free: 12.98 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001662/0.007543, allocations: 219.4 kB / 0.5587 GB, free: 12.75 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.094e-05/0.007564, allocations: 15.97 kB / 0.5587 GB, free: 12.73 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.162e-05/0.007575, allocations: 4 kB / 0.5587 GB, free: 12.73 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.343e-05/0.007619, allocations: 3.984 kB / 0.5587 GB, free: 12.73 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.53e-05/0.007634, allocations: 8 kB / 0.5587 GB, free: 12.72 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.692e-06/0.007641, allocations: 12.05 kB / 0.5587 GB, free: 12.71 MB / 490.7 MB Notification: Performance of sorting global known variables: time 1.975e-05/0.007661, allocations: 75.28 kB / 0.5588 GB, free: 12.63 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007661, allocations: 0 / 0.5588 GB, free: 12.63 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001872/0.007848, allocations: 43.94 kB / 0.5589 GB, free: 12.59 MB / 490.7 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.0004351/0.008283, allocations: 0.7981 MB / 0.5596 GB, free: 11.77 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001065/0.008389, allocations: 59.91 kB / 0.5597 GB, free: 11.71 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.008391, allocations: 0 / 0.5597 GB, free: 11.71 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.706e-05/0.008419, allocations: 27.39 kB / 0.5597 GB, free: 11.68 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001511/0.00857, allocations: 8.062 kB / 0.5597 GB, free: 11.68 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008452/0.009415, allocations: 1.403 MB / 0.5611 GB, free: 10.2 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.063e-05/0.009455, allocations: 75.27 kB / 0.5612 GB, free: 10.1 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.359e-05/0.009489, allocations: 8.547 kB / 0.5612 GB, free: 10.09 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.302e-05/0.009522, allocations: 20.48 kB / 0.5612 GB, free: 10.07 MB / 490.7 MB Notification: Performance of SimCode: time 3.81e-07/0.009522, allocations: 0 / 0.5612 GB, free: 10.07 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0201/0.02962, allocations: 3.136 MB / 0.5643 GB, free: 7.129 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.023/7.053, allocations: 5.094 kB / 0.5643 GB, free: 7.129 MB / 490.7 MB " [Timeout remaining time 653] (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) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.646454120054841] Failed to read output from testmodel.py, exit status != 0: 7.133528811857104 7.141679997 7.135847011 Calling exit ...