Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite.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.001787/0.001787, allocations: 101.9 kB / 20.48 MB, free: 1.246 MB / 14.72 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.002381/0.002381, allocations: 218.4 kB / 23.78 MB, free: 4.145 MB / 14.72 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 1.514/1.514, allocations: 230.6 MB / 257.6 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] 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 1.03/1.03, allocations: 150 MB / 463.9 MB, free: 10.3 MB / 366.1 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.CubicHermite,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_CubicHermite",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_CubicHermite",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003363/0.003363, allocations: 66.02 kB / 0.642 GB, free: 9.902 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2571/0.2605, allocations: 89.18 MB / 0.7291 GB, free: 0.8008 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.CubicHermite): time 0.002078/0.2626, allocations: 0.6124 MB / 0.7297 GB, free: 196 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002159/0.2647, allocations: 1.381 MB / 0.731 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.677e-05/0.2647, allocations: 0 / 0.731 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 5.769e-05/0.2648, allocations: 3.938 kB / 0.731 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 3.564e-05/0.2648, allocations: 4 kB / 0.731 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006965/0.2655, allocations: 179.5 kB / 0.7312 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000124/0.2657, allocations: 47.95 kB / 0.7313 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.213e-05/0.2657, allocations: 0 / 0.7313 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.577e-05/0.2657, allocations: 23.92 kB / 0.7313 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.997e-05/0.2658, allocations: 23.91 kB / 0.7313 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.61e-05/0.2658, allocations: 4 kB / 0.7313 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004183/0.2662, allocations: 227.7 kB / 0.7315 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.487e-05/0.2663, allocations: 12 kB / 0.7315 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.843e-05/0.2663, allocations: 19.86 kB / 0.7316 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003132/0.2666, allocations: 195.7 kB / 0.7317 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.2666, allocations: 0 / 0.7317 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.202e-06/0.2666, allocations: 0 / 0.7317 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.827e-06/0.2666, allocations: 0 / 0.7317 GB, free: 14.07 MB / 0.5606 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.000473/0.2671, allocations: 373.2 kB / 0.7321 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.2672, allocations: 12.03 kB / 0.7321 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.236e-05/0.2672, allocations: 192 / 0.7321 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.018e-05/0.2672, allocations: 30.75 kB / 0.7321 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.931e-05/0.2672, allocations: 4.938 kB / 0.7321 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001282/0.2674, allocations: 122.5 kB / 0.7323 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.2674, allocations: 4.375 kB / 0.7323 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.533e-05/0.2674, allocations: 4.312 kB / 0.7323 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002111/0.2676, allocations: 131.3 kB / 0.7324 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.233e-06/0.2676, allocations: 0 / 0.7324 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.337e-06/0.2676, allocations: 0 / 0.7324 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.2676, allocations: 0 / 0.7324 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001175/0.2677, allocations: 97.59 kB / 0.7325 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000176/0.2679, allocations: 156.7 kB / 0.7326 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001463/0.2681, allocations: 100.2 kB / 0.7327 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001091/0.2682, allocations: 98.59 kB / 0.7328 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.118e-05/0.2682, allocations: 11.92 kB / 0.7328 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.677e-05/0.2682, allocations: 30.56 kB / 0.7329 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.2682, allocations: 0 / 0.7329 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4): time 0.0004513/0.2687, allocations: 314.6 kB / 0.7332 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.448e-05/0.2687, allocations: 85.09 kB / 0.7332 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000142/0.2689, allocations: 147.8 kB / 0.7334 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.999e-05/0.2689, allocations: 25.7 kB / 0.7334 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.379e-05/0.2689, allocations: 88.14 kB / 0.7335 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.261e-05/0.269, allocations: 11.84 kB / 0.7335 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.251e-05/0.269, allocations: 29.7 kB / 0.7335 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.2692, allocations: 326.9 kB / 0.7338 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000185/0.2693, allocations: 167.3 kB / 0.734 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001719/0.2695, allocations: 171.3 kB / 0.7342 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003166/0.2698, allocations: 286.5 kB / 0.7344 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.2698, allocations: 0 / 0.7344 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004341/0.2703, allocations: 402.2 kB / 0.7348 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.13e-05/0.2703, allocations: 75.38 kB / 0.7349 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.2703, allocations: 0 / 0.7349 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.2704, allocations: 0 / 0.7349 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.072e-06/0.2704, allocations: 0 / 0.7349 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.707e-06/0.2704, allocations: 0 / 0.7349 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001649/0.2705, allocations: 19.95 kB / 0.7349 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.451e-05/0.2705, allocations: 4 kB / 0.7349 GB, free: 10.48 MB / 0.5606 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 (i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * 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 0.0001309/0.2707, allocations: 147.5 kB / 0.7351 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.865e-05/0.2707, allocations: 7.891 kB / 0.7351 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.921e-05/0.2707, allocations: 16.33 kB / 0.7351 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-06/0.2707, allocations: 0 / 0.7351 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.2707, allocations: 3.938 kB / 0.7351 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.793e-06/0.2707, allocations: 0 / 0.7351 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001188/0.2708, allocations: 140.7 kB / 0.7352 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.2708, allocations: 0 / 0.7352 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.61e-07/0.2708, allocations: 4 kB / 0.7352 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.094e-05/0.2708, allocations: 4 kB / 0.7352 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.2709, allocations: 4 kB / 0.7352 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.2709, allocations: 0 / 0.7352 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.2709, allocations: 0 / 0.7352 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000326/0.2712, allocations: 264.3 kB / 0.7355 GB, free: 9.801 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.002e-05/0.2712, allocations: 3.953 kB / 0.7355 GB, free: 9.797 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.052e-05/0.2712, allocations: 4 kB / 0.7355 GB, free: 9.793 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.281e-05/0.2713, allocations: 7.984 kB / 0.7355 GB, free: 9.785 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.188e-05/0.2713, allocations: 8 kB / 0.7355 GB, free: 9.777 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.083e-06/0.2713, allocations: 0 / 0.7355 GB, free: 9.777 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 8.08e-05/0.2714, allocations: 117.5 kB / 0.7356 GB, free: 9.664 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2714, allocations: 0 / 0.7356 GB, free: 9.664 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003093/0.2717, allocations: 67.86 kB / 0.7357 GB, free: 9.598 MB / 0.5606 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 (i) * Number of discrete states: 1 (i) * 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.0008011/0.2725, allocations: 0.842 MB / 0.7365 GB, free: 8.715 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005426/0.2731, allocations: 419.8 kB / 0.7369 GB, free: 8.262 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.2731, allocations: 0 / 0.7369 GB, free: 8.262 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002066/0.2733, allocations: 157 kB / 0.7371 GB, free: 8.09 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001461/0.2734, allocations: 4 kB / 0.7371 GB, free: 8.086 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002569/0.276, allocations: 2.46 MB / 0.7395 GB, free: 5.477 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.774e-05/0.2761, allocations: 79.45 kB / 0.7395 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 5.69e-06/0.2761, allocations: 0 / 0.7395 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.032e-05/0.2761, allocations: 19.42 kB / 0.7396 GB, free: 5.359 MB / 0.5606 GB Notification: Performance of SimCode: time 5.41e-07/0.2761, allocations: 3.938 kB / 0.7396 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02444/0.3005, allocations: 3.53 MB / 0.743 GB, free: 1.984 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/11.87, allocations: 6.141 kB / 0.743 GB, free: 1.98 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_CubicHermite_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_CubicHermite.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.816880853963085] Failed to read output from testmodel.py, exit status != 0: 12.035276151029393 12.06443206 11.791856389 Calling exit ...