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.0008549/0.0008549, allocations: 80.48 kB / 19.93 MB, free: 4.629 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.0008837/0.0008837, 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.9088/0.9088, allocations: 177.1 MB / 203.5 MB, free: 5.73 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.5651/0.5651, allocations: 114 MB / 373.9 MB, free: 8.691 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.152e-06/1.152e-06, allocations: 0 / 0.5542 GB, free: 2.738 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.67e-05/1.785e-05, allocations: 2.281 kB / 0.5542 GB, free: 2.734 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.00179/0.001808, allocations: 1.453 MB / 0.5556 GB, free: 1.281 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0009608/0.002768, allocations: 0.7752 MB / 0.5564 GB, free: 0.5039 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.869e-05/0.002797, allocations: 4 kB / 0.5564 GB, free: 0.5 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 6.589e-05/0.002863, allocations: 3.938 kB / 0.5564 GB, free: 0.4961 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 4.599e-05/0.002909, allocations: 7.984 kB / 0.5564 GB, free: 500 kB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005047/0.003414, allocations: 171.5 kB / 0.5566 GB, free: 328 kB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0001812/0.003595, allocations: 47.84 kB / 0.5566 GB, free: 280 kB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 8.129e-05/0.003676, allocations: 7.984 kB / 0.5566 GB, free: 272 kB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 4.604e-05/0.003722, allocations: 23.92 kB / 0.5566 GB, free: 248 kB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 4.746e-05/0.00377, allocations: 19.97 kB / 0.5567 GB, free: 228 kB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.483e-05/0.003784, allocations: 4 kB / 0.5567 GB, free: 224 kB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002348/0.004019, allocations: 207.7 kB / 0.5569 GB, free: 16 kB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 4.39e-05/0.004063, allocations: 11.94 kB / 0.5569 GB, free: 4 kB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 4.243e-05/0.004106, allocations: 12.03 kB / 0.5569 GB, free: 15.99 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0002241/0.00433, allocations: 243.3 kB / 0.5571 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.923e-06/0.004332, allocations: 4 kB / 0.5571 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of FrontEnd: time 9.31e-07/0.004333, allocations: 0 / 0.5571 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.004337, allocations: 0 / 0.5571 GB, free: 15.75 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.0003934/0.00473, allocations: 361.4 kB / 0.5575 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.004766, allocations: 8.031 kB / 0.5575 GB, free: 15.35 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.605e-05/0.004792, allocations: 30.75 kB / 0.5575 GB, free: 15.31 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.624e-05/0.004819, allocations: 8.938 kB / 0.5575 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.644e-05/0.004895, allocations: 113.7 kB / 0.5576 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.004905, allocations: 384 / 0.5576 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.159e-05/0.004917, allocations: 8.375 kB / 0.5576 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000154/0.005071, allocations: 103.3 kB / 0.5577 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.723e-06/0.005078, allocations: 4 kB / 0.5577 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.815e-06/0.005085, allocations: 3.938 kB / 0.5577 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.00509, allocations: 0 / 0.5577 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.285e-05/0.005163, allocations: 85.59 kB / 0.5578 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002949/0.005458, allocations: 243.9 kB / 0.558 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 8.687e-05/0.005545, allocations: 88.25 kB / 0.5581 GB, free: 14.56 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.068e-05/0.005605, allocations: 74.61 kB / 0.5582 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.327e-05/0.005619, allocations: 0 / 0.5582 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.996e-05/0.005638, allocations: 38.48 kB / 0.5582 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 1.763e-06/0.00564, allocations: 3.984 kB / 0.5582 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.0002659/0.005906, allocations: 242.7 kB / 0.5585 GB, free: 14.17 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.327e-05/0.005939, allocations: 85.11 kB / 0.5586 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.892e-05/0.006008, allocations: 117.8 kB / 0.5587 GB, free: 13.94 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.016e-05/0.006019, allocations: 29.73 kB / 0.5587 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.84e-05/0.006057, allocations: 92.12 kB / 0.5588 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.307e-05/0.00607, allocations: 11.91 kB / 0.5588 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.939e-05/0.006099, allocations: 17.72 kB / 0.5588 GB, free: 13.78 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.908e-05/0.006178, allocations: 322.8 kB / 0.5591 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.087e-05/0.006259, allocations: 119.4 kB / 0.5592 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.927e-05/0.006329, allocations: 111.4 kB / 0.5593 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001344/0.006463, allocations: 205.8 kB / 0.5595 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.006465, allocations: 0 / 0.5595 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001874/0.006653, allocations: 276.4 kB / 0.5598 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.621e-05/0.006689, allocations: 67.39 kB / 0.5599 GB, free: 12.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.006693, allocations: 0 / 0.5599 GB, free: 12.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.006704, allocations: 0 / 0.5599 GB, free: 12.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.665e-05/0.006751, allocations: 7.984 kB / 0.5599 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.369e-06/0.006755, allocations: 64 / 0.5599 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.679e-05/0.006782, allocations: 15.89 kB / 0.5599 GB, free: 12.58 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.217e-06/0.006791, allocations: 4 kB / 0.5599 GB, free: 12.57 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.259e-05/0.006864, allocations: 151.5 kB / 0.56 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.314e-05/0.006877, allocations: 8 kB / 0.56 GB, free: 12.4 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.821e-05/0.006895, allocations: 4 kB / 0.56 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.006897, allocations: 0 / 0.56 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.0069, allocations: 3.938 kB / 0.56 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.006903, allocations: 0 / 0.56 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001016/0.007005, allocations: 148.6 kB / 0.5602 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.007006, allocations: 0 / 0.5602 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.495e-05/0.007021, allocations: 4 kB / 0.5602 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.01e-07/0.007021, allocations: 0 / 0.5602 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.194e-06/0.007028, allocations: 0 / 0.5602 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.00703, allocations: 3.984 kB / 0.5602 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.71e-07/0.007031, allocations: 4 kB / 0.5602 GB, free: 12.19 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001734/0.007204, allocations: 282.7 kB / 0.5605 GB, free: 11.89 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 7.795e-06/0.007212, allocations: 7.953 kB / 0.5605 GB, free: 11.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.238e-05/0.007224, allocations: 0 / 0.5605 GB, free: 11.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.533e-05/0.00726, allocations: 7.984 kB / 0.5605 GB, free: 11.87 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.04e-05/0.00734, allocations: 4 kB / 0.5605 GB, free: 11.87 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.037e-06/0.007344, allocations: 0 / 0.5605 GB, free: 11.87 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.876e-05/0.007383, allocations: 99.27 kB / 0.5606 GB, free: 11.77 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.007383, allocations: 0 / 0.5606 GB, free: 11.77 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002262/0.007609, allocations: 59.92 kB / 0.5606 GB, free: 11.71 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.000471/0.00808, allocations: 0.8757 MB / 0.5615 GB, free: 10.8 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002374/0.008317, allocations: 319.8 kB / 0.5618 GB, free: 10.44 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.008319, allocations: 0 / 0.5618 GB, free: 10.44 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 8.173e-05/0.008401, allocations: 137 kB / 0.5619 GB, free: 10.29 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001627/0.008564, allocations: 4.562 kB / 0.5619 GB, free: 10.29 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001402/0.009966, allocations: 2.045 MB / 0.5639 GB, free: 8.094 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.79e-05/0.01001, allocations: 71.33 kB / 0.564 GB, free: 8.004 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 1.712e-05/0.01003, allocations: 0 / 0.564 GB, free: 8.004 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.369e-05/0.01006, allocations: 20.88 kB / 0.564 GB, free: 7.984 MB / 0.5261 GB Notification: Performance of SimCode: time 4.7e-07/0.01006, allocations: 0 / 0.564 GB, free: 7.984 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01629/0.02635, allocations: 3.456 MB / 0.5674 GB, free: 4.73 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.899/6.926, allocations: 5.969 kB / 0.5674 GB, free: 4.73 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.432128446176648] Failed to read output from testmodel.py, exit status != 0: 7.008872049860656 7.020953554 7.014946191 Calling exit ...