Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.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.000801/0.000801, allocations: 76.56 kB / 19.92 MB, free: 4.625 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.0008164/0.0008164, allocations: 169.2 kB / 23.21 MB, free: 1.344 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.883/0.883, 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.5699/0.5699, allocations: 114 MB / 373.9 MB, free: 8.699 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.TrapezoidalIntegration,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_TrapezoidalIntegration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_TrapezoidalIntegration",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 0.5542 GB, free: 2.719 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.392e-05/2.574e-05, allocations: 5.234 kB / 0.5542 GB, free: 2.715 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001764/0.00179, allocations: 0.5938 MB / 0.5548 GB, free: 2.125 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0002686/0.002059, allocations: 35.83 kB / 0.5549 GB, free: 2.09 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.399e-05/0.002083, allocations: 0 / 0.5549 GB, free: 2.09 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 3.728e-05/0.00212, allocations: 0 / 0.5549 GB, free: 2.09 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 5.728e-05/0.002177, allocations: 0 / 0.5549 GB, free: 2.09 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002946/0.002472, allocations: 19.98 kB / 0.5549 GB, free: 2.07 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0001035/0.002575, allocations: 3.984 kB / 0.5549 GB, free: 2.066 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 5.632e-05/0.002632, allocations: 4 kB / 0.5549 GB, free: 2.062 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 4.62e-05/0.002678, allocations: 3.984 kB / 0.5549 GB, free: 2.059 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 5.678e-05/0.002735, allocations: 4 kB / 0.5549 GB, free: 2.055 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 2.121e-05/0.002756, allocations: 4 kB / 0.5549 GB, free: 2.051 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 9.205e-05/0.002848, allocations: 15.98 kB / 0.5549 GB, free: 2.035 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 3.595e-05/0.002884, allocations: 0 / 0.5549 GB, free: 2.035 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.606e-05/0.00291, allocations: 7.938 kB / 0.5549 GB, free: 2.027 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001233/0.003033, allocations: 31.83 kB / 0.555 GB, free: 1.996 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.003036, allocations: 0 / 0.555 GB, free: 1.996 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.353e-06/0.003037, allocations: 8 kB / 0.555 GB, free: 1.988 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.003042, allocations: 0 / 0.555 GB, free: 1.988 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005471/0.003589, allocations: 272.1 kB / 0.5552 GB, free: 1.684 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.375e-05/0.003642, allocations: 8.031 kB / 0.5552 GB, free: 1.676 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.987e-05/0.003682, allocations: 34.75 kB / 0.5553 GB, free: 1.633 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.505e-05/0.003717, allocations: 0.9375 kB / 0.5553 GB, free: 1.633 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001062/0.003824, allocations: 109.8 kB / 0.5554 GB, free: 1.5 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.582e-05/0.003839, allocations: 4.375 kB / 0.5554 GB, free: 1.496 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.22e-05/0.003852, allocations: 4.375 kB / 0.5554 GB, free: 1.492 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001982/0.00405, allocations: 79.95 kB / 0.5555 GB, free: 1.402 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.004061, allocations: 192 / 0.5555 GB, free: 1.402 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.004073, allocations: 4.375 kB / 0.5555 GB, free: 1.398 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.804e-05/0.004111, allocations: 12.12 kB / 0.5555 GB, free: 1.387 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.897e-05/0.00418, allocations: 53.62 kB / 0.5555 GB, free: 1.328 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004341/0.004614, allocations: 235.8 kB / 0.5557 GB, free: 1.055 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 7.52e-05/0.00469, allocations: 48.28 kB / 0.5558 GB, free: 0.9922 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.002e-05/0.00472, allocations: 34.62 kB / 0.5558 GB, free: 0.9492 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 8.015e-06/0.004728, allocations: 0 / 0.5558 GB, free: 0.9492 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.758e-05/0.004755, allocations: 34.5 kB / 0.5559 GB, free: 0.9062 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.004756, allocations: 0 / 0.5559 GB, free: 0.9062 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 0.0002667/0.005023, allocations: 138.7 kB / 0.556 GB, free: 0.7461 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.615e-05/0.005079, allocations: 77.11 kB / 0.5561 GB, free: 0.6523 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.104e-05/0.00517, allocations: 109.9 kB / 0.5562 GB, free: 0.5352 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.484e-05/0.005185, allocations: 29.7 kB / 0.5562 GB, free: 0.5 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.891e-05/0.005244, allocations: 111.9 kB / 0.5563 GB, free: 396 kB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 8.526e-06/0.005252, allocations: 4 kB / 0.5563 GB, free: 392 kB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.328e-05/0.005296, allocations: 21.72 kB / 0.5563 GB, free: 364 kB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001144/0.00541, allocations: 322.8 kB / 0.5566 GB, free: 32 kB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.777e-05/0.005468, allocations: 33.75 kB / 0.5567 GB, free: 15.99 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.939e-05/0.005547, allocations: 88.45 kB / 0.5567 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003213/0.005869, allocations: 130.2 kB / 0.5569 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.005872, allocations: 0 / 0.5569 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001656/0.006038, allocations: 149 kB / 0.557 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.869e-05/0.006076, allocations: 41.69 kB / 0.5571 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.006084, allocations: 480 / 0.5571 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.061e-05/0.006105, allocations: 4 kB / 0.5571 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.836e-05/0.006183, allocations: 12 kB / 0.5571 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.006191, allocations: 3.938 kB / 0.5571 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.147e-05/0.006252, allocations: 7.938 kB / 0.5571 GB, free: 15.47 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.008e-05/0.006272, allocations: 8 kB / 0.5571 GB, free: 15.46 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * 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 9.405e-05/0.006366, allocations: 147.5 kB / 0.5572 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.665e-05/0.006383, allocations: 8.047 kB / 0.5572 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.463e-05/0.006397, allocations: 11.45 kB / 0.5572 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.0064, allocations: 0 / 0.5572 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.006407, allocations: 0 / 0.5572 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.00641, allocations: 0 / 0.5572 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001023/0.006513, allocations: 132.7 kB / 0.5574 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.006514, allocations: 0 / 0.5574 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.3e-07/0.006514, allocations: 0 / 0.5574 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.81e-07/0.006515, allocations: 0 / 0.5574 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.282e-06/0.006521, allocations: 0 / 0.5574 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.01e-07/0.006522, allocations: 0 / 0.5574 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.006524, allocations: 7.922 kB / 0.5574 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.417e-05/0.006608, allocations: 198.9 kB / 0.5576 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 7.384e-06/0.006616, allocations: 7.891 kB / 0.5576 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.192e-05/0.006627, allocations: 7.984 kB / 0.5576 GB, free: 14.87 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.157e-05/0.006659, allocations: 4 kB / 0.5576 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.268e-05/0.006672, allocations: 0 / 0.5576 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-06/0.006676, allocations: 4 kB / 0.5576 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.259e-05/0.006708, allocations: 87.27 kB / 0.5577 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.006708, allocations: 4 kB / 0.5577 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001557/0.006864, allocations: 8 kB / 0.5577 GB, free: 14.76 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): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0003134/0.007177, allocations: 0.7313 MB / 0.5584 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001233/0.007301, allocations: 134.7 kB / 0.5585 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.007302, allocations: 4 kB / 0.5585 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 3.02e-05/0.007332, allocations: 85.09 kB / 0.5586 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001591/0.007491, allocations: 4 kB / 0.5586 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003541/0.007845, allocations: 168.7 kB / 0.5588 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.307e-05/0.007898, allocations: 63.34 kB / 0.5588 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 5.516e-05/0.007954, allocations: 19.97 kB / 0.5589 GB, free: 13.41 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.324e-05/0.007977, allocations: 8.5 kB / 0.5589 GB, free: 13.41 MB / 0.5261 GB Notification: Performance of SimCode: time 8.72e-07/0.007978, allocations: 3.938 kB / 0.5589 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01717/0.02515, allocations: 2.067 MB / 0.5609 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.967/6.992, allocations: 16.92 kB / 0.5609 GB, free: 11.49 MB / 0.5261 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_TrapezoidalIntegration.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.588697155937552] Failed to read output from testmodel.py, exit status != 0: 7.073884751647711 7.085074309 7.080036168 Calling exit ...