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.000997/0.000997, allocations: 76.55 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.001325/0.001325, allocations: 177.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.9209/0.9209, allocations: 177.1 MB / 203.5 MB, free: 5.738 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.5821/0.5821, 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.CubicHermite,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.814e-06/1.814e-06, allocations: 0 / 0.5542 GB, free: 2.723 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.918e-05/2.099e-05, allocations: 2.281 kB / 0.5542 GB, free: 2.719 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.CubicHermite): time 0.001181/0.001202, allocations: 0.6121 MB / 0.5548 GB, free: 2.113 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001304/0.002507, allocations: 1.381 MB / 0.5562 GB, free: 0.7148 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.502e-05/0.002532, allocations: 0 / 0.5562 GB, free: 0.7148 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 5.281e-05/0.002584, allocations: 11.94 kB / 0.5562 GB, free: 0.7031 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 3.632e-05/0.002621, allocations: 3.938 kB / 0.5562 GB, free: 0.6992 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005636/0.003184, allocations: 183.5 kB / 0.5564 GB, free: 0.5195 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0001121/0.003296, allocations: 43.89 kB / 0.5564 GB, free: 488 kB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 3.549e-05/0.003332, allocations: 7.938 kB / 0.5564 GB, free: 480 kB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 5.363e-05/0.003385, allocations: 23.97 kB / 0.5565 GB, free: 456 kB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 4.944e-05/0.003435, allocations: 27.97 kB / 0.5565 GB, free: 428 kB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.463e-05/0.003449, allocations: 4 kB / 0.5565 GB, free: 424 kB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002633/0.003713, allocations: 211.6 kB / 0.5567 GB, free: 212 kB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 4.227e-05/0.003755, allocations: 8 kB / 0.5567 GB, free: 204 kB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 3.229e-05/0.003787, allocations: 15.92 kB / 0.5567 GB, free: 188 kB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0002457/0.004033, allocations: 239.4 kB / 0.5569 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.844e-06/0.004035, allocations: 0 / 0.5569 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of FrontEnd: time 7.42e-07/0.004036, allocations: 0 / 0.5569 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.00404, allocations: 0 / 0.5569 GB, free: 15.95 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.0003445/0.004385, allocations: 361.3 kB / 0.5573 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.004421, allocations: 12.62 kB / 0.5573 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.512e-05/0.004446, allocations: 38.75 kB / 0.5573 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.853e-05/0.004475, allocations: 8.891 kB / 0.5573 GB, free: 15.49 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.18e-05/0.004557, allocations: 119.5 kB / 0.5575 GB, free: 15.35 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.004569, allocations: 4.375 kB / 0.5575 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.111e-05/0.00458, allocations: 8.359 kB / 0.5575 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001527/0.004733, allocations: 123.9 kB / 0.5576 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.092e-06/0.004739, allocations: 192 / 0.5576 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.004748, allocations: 4.125 kB / 0.5576 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.004751, allocations: 0 / 0.5576 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.89e-05/0.00482, allocations: 93.66 kB / 0.5577 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001101/0.00493, allocations: 144.7 kB / 0.5578 GB, free: 14.92 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 9.342e-05/0.005024, allocations: 108.2 kB / 0.5579 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.8e-05/0.005092, allocations: 102.6 kB / 0.558 GB, free: 14.69 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 5.681e-06/0.005098, allocations: 0 / 0.558 GB, free: 14.69 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.822e-05/0.005116, allocations: 30.56 kB / 0.558 GB, free: 14.65 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=4): time 6.91e-07/0.005116, allocations: 0 / 0.558 GB, free: 14.65 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4): time 0.0002933/0.00541, allocations: 310.6 kB / 0.5583 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.555e-05/0.005445, allocations: 89.09 kB / 0.5584 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.678e-05/0.005532, allocations: 148.3 kB / 0.5586 GB, free: 14.06 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.07e-05/0.005543, allocations: 25.7 kB / 0.5586 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.667e-05/0.005579, allocations: 92.08 kB / 0.5587 GB, free: 13.94 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.856e-05/0.005598, allocations: 15.88 kB / 0.5587 GB, free: 13.92 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.669e-05/0.005635, allocations: 29.7 kB / 0.5587 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.012e-05/0.005705, allocations: 322.8 kB / 0.559 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001072/0.005812, allocations: 167.3 kB / 0.5592 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001063/0.005918, allocations: 170.7 kB / 0.5594 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002336/0.006152, allocations: 285.7 kB / 0.5596 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.006154, allocations: 0 / 0.5596 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002867/0.006441, allocations: 392.2 kB / 0.56 GB, free: 12.5 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 4.257e-05/0.006483, allocations: 75.38 kB / 0.5601 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.006489, allocations: 3.938 kB / 0.5601 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.006499, allocations: 4.062 kB / 0.5601 GB, free: 12.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.82e-07/0.0065, allocations: 0 / 0.5601 GB, free: 12.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.006505, allocations: 3.938 kB / 0.5601 GB, free: 12.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001098/0.006614, allocations: 11.89 kB / 0.5601 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/0.006623, allocations: 4 kB / 0.5601 GB, free: 12.38 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 (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 7.13e-05/0.006694, allocations: 147.5 kB / 0.5602 GB, free: 12.22 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.786e-06/0.006703, allocations: 4 kB / 0.5602 GB, free: 12.22 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.581e-05/0.006719, allocations: 20.27 kB / 0.5603 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.00672, allocations: 0 / 0.5603 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.006724, allocations: 3.938 kB / 0.5603 GB, free: 12.19 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.003e-06/0.006726, allocations: 4.141 kB / 0.5603 GB, free: 12.19 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.954e-05/0.006796, allocations: 140.7 kB / 0.5604 GB, free: 12.01 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.01e-07/0.006796, allocations: 0 / 0.5604 GB, free: 12.01 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.422e-06/0.006798, allocations: 3.984 kB / 0.5604 GB, free: 12 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.12e-07/0.006799, allocations: 0 / 0.5604 GB, free: 12 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-06/0.006808, allocations: 7.938 kB / 0.5604 GB, free: 12 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.006809, allocations: 0 / 0.5604 GB, free: 12 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.00681, allocations: 0 / 0.5604 GB, free: 12 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001848/0.006995, allocations: 256.4 kB / 0.5607 GB, free: 11.71 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 7.815e-06/0.007002, allocations: 4 kB / 0.5607 GB, free: 11.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.224e-05/0.007065, allocations: 11.88 kB / 0.5607 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.943e-05/0.007094, allocations: 12.02 kB / 0.5607 GB, free: 11.69 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.949e-05/0.007144, allocations: 4 kB / 0.5607 GB, free: 11.68 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-06/0.00715, allocations: 11.98 kB / 0.5607 GB, free: 11.67 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.18e-05/0.007192, allocations: 107.2 kB / 0.5608 GB, free: 11.57 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.007192, allocations: 0 / 0.5608 GB, free: 11.57 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001962/0.007388, allocations: 75.8 kB / 0.5609 GB, free: 11.49 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 (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.000465/0.007853, allocations: 0.8382 MB / 0.5617 GB, free: 10.61 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002862/0.008139, allocations: 427.6 kB / 0.5621 GB, free: 10.15 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.008141, allocations: 96 / 0.5621 GB, free: 10.15 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 8.717e-05/0.008229, allocations: 157 kB / 0.5623 GB, free: 9.98 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001091/0.008338, allocations: 4 kB / 0.5623 GB, free: 9.977 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001632/0.009969, allocations: 2.468 MB / 0.5647 GB, free: 7.359 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.668e-05/0.01002, allocations: 71.33 kB / 0.5647 GB, free: 7.27 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 4.799e-06/0.01002, allocations: 0 / 0.5647 GB, free: 7.27 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.576e-05/0.01005, allocations: 20.5 kB / 0.5648 GB, free: 7.25 MB / 0.5261 GB Notification: Performance of SimCode: time 6.11e-07/0.01005, allocations: 0 / 0.5648 GB, free: 7.25 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01677/0.02682, allocations: 4.046 MB / 0.5687 GB, free: 3.355 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.182/7.209, allocations: 0 / 0.5687 GB, free: 3.355 MB / 0.5261 GB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite_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_CubicHermite.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.852463720366359] Failed to read output from testmodel.py, exit status != 0: 7.291298273950815 7.3029872000000005 7.297072029 Calling exit ...