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.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.0008257/0.0008257, allocations: 76.5 kB / 19.93 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.0009465/0.0009465, allocations: 169.9 kB / 23.21 MB, free: 1.355 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.9465/0.9465, allocations: 177.1 MB / 203.5 MB, free: 5.734 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.5895/0.5895, allocations: 114 MB / 373.9 MB, free: 8.715 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.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.354e-06/2.354e-06, allocations: 0 / 0.5542 GB, free: 2.734 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.142e-05/2.378e-05, allocations: 3.828 kB / 0.5543 GB, free: 2.73 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001753/0.001777, allocations: 0.5782 MB / 0.5548 GB, free: 2.156 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0006471/0.002424, allocations: 286.9 kB / 0.5551 GB, free: 1.875 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.888e-05/0.002443, allocations: 0 / 0.5551 GB, free: 1.875 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 2.039e-05/0.002463, allocations: 0 / 0.5551 GB, free: 1.875 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 8.075e-06/0.002471, allocations: 0 / 0.5551 GB, free: 1.875 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005057/0.002977, allocations: 119.5 kB / 0.5552 GB, free: 1.758 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 4.744e-05/0.003024, allocations: 0 / 0.5552 GB, free: 1.758 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 5.273e-05/0.003077, allocations: 8 kB / 0.5552 GB, free: 1.75 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 2.94e-05/0.003107, allocations: 3.984 kB / 0.5552 GB, free: 1.746 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 2.298e-05/0.00313, allocations: 4 kB / 0.5552 GB, free: 1.742 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.348e-05/0.003143, allocations: 0 / 0.5552 GB, free: 1.742 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004078/0.003551, allocations: 251.6 kB / 0.5555 GB, free: 1.496 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.502e-05/0.003566, allocations: 4 kB / 0.5555 GB, free: 1.492 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 1.511e-05/0.003581, allocations: 4 kB / 0.5555 GB, free: 1.488 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0002126/0.003794, allocations: 115.7 kB / 0.5556 GB, free: 1.375 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.514e-06/0.003796, allocations: 0 / 0.5556 GB, free: 1.375 MB / 0.5105 GB Notification: Performance of FrontEnd: time 8.62e-07/0.003797, allocations: 4 kB / 0.5556 GB, free: 1.371 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.003802, allocations: 0 / 0.5556 GB, free: 1.371 MB / 0.5105 GB 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.0002839/0.004085, allocations: 254.2 kB / 0.5558 GB, free: 1.09 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/0.004133, allocations: 8.625 kB / 0.5558 GB, free: 1.082 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.591e-05/0.004169, allocations: 30.75 kB / 0.5559 GB, free: 1.043 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.894e-05/0.004228, allocations: 4.938 kB / 0.5559 GB, free: 1.039 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.042e-05/0.004298, allocations: 109.7 kB / 0.556 GB, free: 0.9062 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.004312, allocations: 4.375 kB / 0.556 GB, free: 0.9023 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.983e-06/0.004319, allocations: 4.375 kB / 0.556 GB, free: 0.8984 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.453e-05/0.004414, allocations: 42.12 kB / 0.556 GB, free: 0.8516 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.004423, allocations: 192 / 0.556 GB, free: 0.8516 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.865e-06/0.00443, allocations: 384 / 0.556 GB, free: 0.8516 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.004437, allocations: 4.125 kB / 0.556 GB, free: 0.8477 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.977e-05/0.004457, allocations: 0 / 0.556 GB, free: 0.8477 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001326/0.00459, allocations: 116.8 kB / 0.5561 GB, free: 0.6914 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 4.518e-05/0.004635, allocations: 22.52 kB / 0.5562 GB, free: 0.6602 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.789e-05/0.004653, allocations: 8.953 kB / 0.5562 GB, free: 0.6484 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000344/0.004997, allocations: 47.95 kB / 0.5562 GB, free: 0.6016 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.005021, allocations: 34.56 kB / 0.5562 GB, free: 0.5586 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 1.172e-06/0.005022, allocations: 0 / 0.5562 GB, free: 0.5586 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 0.0002259/0.005248, allocations: 29.7 kB / 0.5563 GB, free: 0.5234 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.005283, allocations: 55.34 kB / 0.5563 GB, free: 468 kB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.265e-05/0.005315, allocations: 89.86 kB / 0.5564 GB, free: 368 kB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.105e-05/0.005326, allocations: 25.7 kB / 0.5564 GB, free: 336 kB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.276e-05/0.005349, allocations: 92.27 kB / 0.5565 GB, free: 240 kB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.479e-05/0.005374, allocations: 0 / 0.5565 GB, free: 240 kB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.732e-05/0.005401, allocations: 17.64 kB / 0.5565 GB, free: 216 kB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.005507, allocations: 314.8 kB / 0.5568 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.638e-06/0.005516, allocations: 0 / 0.5568 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.632e-06/0.005523, allocations: 0 / 0.5568 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.65e-05/0.005549, allocations: 8.859 kB / 0.5568 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.005552, allocations: 0 / 0.5568 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.783e-05/0.005619, allocations: 33.7 kB / 0.5569 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.005635, allocations: 8.094 kB / 0.5569 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.005639, allocations: 4 kB / 0.5569 GB, free: 15.83 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.005653, allocations: 0 / 0.5569 GB, free: 15.83 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.202e-05/0.005695, allocations: 3.984 kB / 0.5569 GB, free: 15.83 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.537e-06/0.005703, allocations: 7.875 kB / 0.5569 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.184e-05/0.005715, allocations: 4 kB / 0.5569 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.005721, allocations: 0 / 0.5569 GB, free: 15.82 MB / 0.5261 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 5.916e-05/0.00578, allocations: 105.8 kB / 0.557 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.336e-05/0.005803, allocations: 3.953 kB / 0.557 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.175e-05/0.005885, allocations: 48.69 kB / 0.5571 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.005886, allocations: 3.938 kB / 0.5571 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.005893, allocations: 3.938 kB / 0.5571 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.005896, allocations: 3.984 kB / 0.5571 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.018e-05/0.005967, allocations: 112.8 kB / 0.5572 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.005969, allocations: 4 kB / 0.5572 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.888e-06/0.005979, allocations: 0 / 0.5572 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.00598, allocations: 0 / 0.5572 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.871e-06/0.005986, allocations: 0 / 0.5572 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.005988, allocations: 7.938 kB / 0.5572 GB, free: 15.47 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.005991, allocations: 3.938 kB / 0.5572 GB, free: 15.47 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.949e-05/0.00606, allocations: 65.09 kB / 0.5573 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 7.314e-06/0.006067, allocations: 8 kB / 0.5573 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.002e-05/0.006077, allocations: 0 / 0.5573 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.683e-06/0.006084, allocations: 0 / 0.5573 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.318e-05/0.006097, allocations: 3.938 kB / 0.5573 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.904e-06/0.006099, allocations: 0 / 0.5573 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.597e-05/0.006125, allocations: 79.27 kB / 0.5573 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.1e-08/0.006125, allocations: 0 / 0.5573 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002203/0.006345, allocations: 15.94 kB / 0.5574 GB, free: 15.28 MB / 0.5261 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.000352/0.006697, allocations: 0.6085 MB / 0.558 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 6.265e-05/0.00676, allocations: 4 kB / 0.558 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.006762, allocations: 0 / 0.558 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 6.423e-06/0.006768, allocations: 0 / 0.558 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001519/0.00692, allocations: 10.34 kB / 0.558 GB, free: 14.63 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003034/0.007223, allocations: 114.5 kB / 0.5581 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.126e-05/0.007265, allocations: 55.36 kB / 0.5581 GB, free: 14.4 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 1.751e-05/0.007282, allocations: 0 / 0.5581 GB, free: 14.4 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.022e-05/0.007302, allocations: 12.66 kB / 0.5581 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of SimCode: time 5.41e-07/0.007303, allocations: 0 / 0.5581 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01395/0.02125, allocations: 1.817 MB / 0.5599 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.886/6.908, allocations: 14.06 kB / 0.5599 GB, free: 12.7 MB / 0.5261 GB " [Timeout remaining time 653] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.573994492180645] Failed to read output from testmodel.py, exit status != 0: 6.988505058921874 7.000999661 6.99517961 Calling exit ...