Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.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.00115/0.00115, 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.001359/0.001359, allocations: 173.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.9132/0.9132, allocations: 177.1 MB / 203.5 MB, free: 5.742 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.5643/0.5643, allocations: 114 MB / 373.9 MB, free: 8.719 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.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.5542 GB, free: 2.77 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.284e-05/1.446e-05, allocations: 2.281 kB / 0.5542 GB, free: 2.766 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.001723/0.001737, allocations: 1.449 MB / 0.5556 GB, free: 1.312 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001029/0.002767, allocations: 0.7791 MB / 0.5564 GB, free: 0.5312 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.313e-05/0.0028, allocations: 0 / 0.5564 GB, free: 0.5312 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 6.663e-05/0.002866, allocations: 3.938 kB / 0.5564 GB, free: 0.5273 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 4.428e-05/0.002911, allocations: 0 / 0.5564 GB, free: 0.5273 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006375/0.003548, allocations: 175.5 kB / 0.5565 GB, free: 364 kB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0001009/0.003649, allocations: 55.83 kB / 0.5566 GB, free: 308 kB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 8.154e-05/0.003731, allocations: 0 / 0.5566 GB, free: 308 kB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 5.171e-05/0.003782, allocations: 19.98 kB / 0.5566 GB, free: 288 kB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 5.103e-05/0.003833, allocations: 23.91 kB / 0.5566 GB, free: 264 kB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.499e-05/0.003848, allocations: 4 kB / 0.5566 GB, free: 260 kB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002575/0.004106, allocations: 207.7 kB / 0.5568 GB, free: 52 kB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 4.416e-05/0.00415, allocations: 7.938 kB / 0.5569 GB, free: 44 kB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 3.044e-05/0.00418, allocations: 23.97 kB / 0.5569 GB, free: 20 kB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0002609/0.004441, allocations: 239.3 kB / 0.5571 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.764e-06/0.004443, allocations: 0 / 0.5571 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of FrontEnd: time 9.12e-07/0.004444, allocations: 0 / 0.5571 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.097e-06/0.004448, allocations: 0 / 0.5571 GB, free: 15.79 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003976/0.004846, allocations: 361.4 kB / 0.5574 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.004882, allocations: 8.625 kB / 0.5575 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.659e-05/0.004908, allocations: 34.75 kB / 0.5575 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.695e-05/0.004975, allocations: 4.938 kB / 0.5575 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001079/0.005083, allocations: 116.6 kB / 0.5576 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.005096, allocations: 8.375 kB / 0.5576 GB, free: 15.19 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.368e-06/0.005105, allocations: 384 / 0.5576 GB, free: 15.19 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001711/0.005276, allocations: 111.3 kB / 0.5577 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.743e-06/0.005283, allocations: 0 / 0.5577 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-06/0.005292, allocations: 0 / 0.5577 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.005297, allocations: 4 kB / 0.5577 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.5e-05/0.005372, allocations: 81.59 kB / 0.5578 GB, free: 14.98 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003027/0.005675, allocations: 244 kB / 0.558 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 8.792e-05/0.005763, allocations: 80.25 kB / 0.5581 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.266e-05/0.005826, allocations: 82.61 kB / 0.5582 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.377e-05/0.005839, allocations: 0 / 0.5582 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.213e-05/0.005861, allocations: 34.5 kB / 0.5582 GB, free: 14.47 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 6.51e-07/0.005862, allocations: 3.938 kB / 0.5582 GB, free: 14.47 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.0002836/0.006146, allocations: 246.7 kB / 0.5585 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.757e-05/0.006183, allocations: 81.09 kB / 0.5585 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.142e-05/0.006255, allocations: 117.8 kB / 0.5587 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.255e-05/0.006267, allocations: 29.7 kB / 0.5587 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.835e-05/0.006306, allocations: 88.12 kB / 0.5588 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.386e-05/0.006319, allocations: 15.94 kB / 0.5588 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.317e-05/0.006353, allocations: 21.72 kB / 0.5588 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.877e-05/0.006431, allocations: 322.8 kB / 0.5591 GB, free: 13.49 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.413e-05/0.006516, allocations: 115.4 kB / 0.5592 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.233e-05/0.006588, allocations: 115.4 kB / 0.5593 GB, free: 13.24 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001406/0.006728, allocations: 209.8 kB / 0.5595 GB, free: 13.01 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.00673, allocations: 0 / 0.5595 GB, free: 13.01 MB / 0.5261 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001905/0.006921, allocations: 272.4 kB / 0.5598 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.636e-05/0.006957, allocations: 63.39 kB / 0.5598 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.006962, allocations: 4 kB / 0.5599 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.006973, allocations: 0 / 0.5599 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.632e-05/0.00702, allocations: 7.938 kB / 0.5599 GB, free: 12.63 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.007025, allocations: 3.984 kB / 0.5599 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.543e-05/0.007051, allocations: 11.89 kB / 0.5599 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.265e-06/0.007059, allocations: 4 kB / 0.5599 GB, free: 12.61 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: 1 (cubSpl.i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 2 * 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 7.703e-05/0.007136, allocations: 151.5 kB / 0.56 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.491e-05/0.007151, allocations: 4.234 kB / 0.56 GB, free: 12.44 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.736e-05/0.007168, allocations: 8 kB / 0.56 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.007171, allocations: 7.984 kB / 0.56 GB, free: 12.42 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.287e-06/0.007174, allocations: 3.938 kB / 0.56 GB, free: 12.42 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.007178, allocations: 4 kB / 0.5601 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001078/0.007285, allocations: 136.7 kB / 0.5602 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.007286, allocations: 0 / 0.5602 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.362e-05/0.0073, allocations: 4.062 kB / 0.5602 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.007302, allocations: 4 kB / 0.5602 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.146e-06/0.00731, allocations: 0 / 0.5602 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.007312, allocations: 3.938 kB / 0.5602 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.007313, allocations: 4 kB / 0.5602 GB, free: 12.22 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001828/0.007495, allocations: 286.8 kB / 0.5605 GB, free: 11.91 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 7.033e-06/0.007502, allocations: 3.953 kB / 0.5605 GB, free: 11.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.189e-05/0.007514, allocations: 4 kB / 0.5605 GB, free: 11.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.51e-05/0.007549, allocations: 7.984 kB / 0.5605 GB, free: 11.9 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.88e-05/0.007618, allocations: 4 kB / 0.5605 GB, free: 11.89 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-06/0.007622, allocations: 4 kB / 0.5605 GB, free: 11.89 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.071e-05/0.007663, allocations: 95.27 kB / 0.5606 GB, free: 11.8 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6e-08/0.007663, allocations: 0 / 0.5606 GB, free: 11.8 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002314/0.007895, allocations: 59.92 kB / 0.5606 GB, free: 11.74 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: 1 (cubSpl.i) * Number of discrete states: 1 (cubSpl.i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * 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.0005469/0.008441, allocations: 0.8718 MB / 0.5615 GB, free: 10.83 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002437/0.008685, allocations: 319.8 kB / 0.5618 GB, free: 10.47 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.008687, allocations: 0 / 0.5618 GB, free: 10.47 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 7.758e-05/0.008764, allocations: 137 kB / 0.5619 GB, free: 10.32 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001422/0.008907, allocations: 0.5625 kB / 0.5619 GB, free: 10.32 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001304/0.01021, allocations: 2.048 MB / 0.5639 GB, free: 8.125 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.89e-05/0.01026, allocations: 71.27 kB / 0.564 GB, free: 8.035 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 1.743e-05/0.01028, allocations: 4 kB / 0.564 GB, free: 8.031 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.854e-05/0.01031, allocations: 12.5 kB / 0.564 GB, free: 8.02 MB / 0.5261 GB Notification: Performance of SimCode: time 8.52e-07/0.01031, allocations: 0 / 0.564 GB, free: 8.02 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02069/0.031, allocations: 3.446 MB / 0.5674 GB, free: 4.773 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 7/7.031, allocations: 8.734 kB / 0.5674 GB, free: 4.773 MB / 0.5261 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_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_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.fmu > IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.62920172419399] Failed to read output from testmodel.py, exit status != 0: 7.11274244915694 7.121403428 7.11528762 Calling exit ...