Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001596/0.001596, allocations: 116.1 kB / 17.17 MB, free: 6 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.001758/0.001758, allocations: 209.5 kB / 20.13 MB, free: 3.055 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.511/1.511, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002364/0.002364, allocations: 283.5 kB / 309.8 MB, free: 3.48 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.074/1.074, allocations: 180.6 MB / 0.5338 GB, free: 12.39 MB / 398.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_CubicHermite",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_CubicHermite",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.00304/0.00304, allocations: 103.8 kB / 0.7347 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5662/0.5692, allocations: 95.34 MB / 0.8278 GB, free: 3.02 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite): time 0.001775/0.571, allocations: 0.6195 MB / 0.8284 GB, free: 2.633 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001693/0.5727, allocations: 1.454 MB / 0.8299 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.105e-05/0.5727, allocations: 0 / 0.8299 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 6.397e-05/0.5728, allocations: 4.641 kB / 0.8299 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.109e-05/0.5728, allocations: 5.672 kB / 0.8299 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007116/0.5735, allocations: 183.3 kB / 0.83 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001175/0.5736, allocations: 43.52 kB / 0.8301 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.025e-05/0.5737, allocations: 1.906 kB / 0.8301 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.704e-05/0.5737, allocations: 21.52 kB / 0.8301 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.162e-05/0.5738, allocations: 26.45 kB / 0.8301 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.578e-05/0.5738, allocations: 3.406 kB / 0.8301 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003287/0.5741, allocations: 205.8 kB / 0.8303 GB, free: 1.438 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.413e-05/0.5742, allocations: 10.53 kB / 0.8303 GB, free: 1.434 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.998e-05/0.5742, allocations: 30.12 kB / 0.8304 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002906/0.5745, allocations: 183.1 kB / 0.8305 GB, free: 1.371 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.5745, allocations: 0 / 0.8305 GB, free: 1.371 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.054e-06/0.5745, allocations: 0 / 0.8305 GB, free: 1.371 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.071e-06/0.5745, allocations: 0 / 0.8305 GB, free: 1.371 MB / 0.5762 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.0004053/0.5749, allocations: 455.2 kB / 0.831 GB, free: 0.9062 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.575, allocations: 10.97 kB / 0.831 GB, free: 0.9062 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.293e-05/0.575, allocations: 192 / 0.831 GB, free: 0.9062 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.027e-05/0.575, allocations: 33.08 kB / 0.831 GB, free: 0.8672 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.425e-05/0.575, allocations: 11.64 kB / 0.831 GB, free: 0.8594 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.097e-05/0.5751, allocations: 177.4 kB / 0.8312 GB, free: 0.6523 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.412e-05/0.5751, allocations: 3.812 kB / 0.8312 GB, free: 0.6523 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.411e-05/0.5752, allocations: 3.344 kB / 0.8312 GB, free: 0.6523 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001739/0.5753, allocations: 100.5 kB / 0.8313 GB, free: 0.6094 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.5753, allocations: 0 / 0.8313 GB, free: 0.6094 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.5753, allocations: 1.375 kB / 0.8313 GB, free: 0.6094 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.5753, allocations: 0 / 0.8313 GB, free: 0.6094 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.523e-05/0.5754, allocations: 62.97 kB / 0.8314 GB, free: 0.6055 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001186/0.5756, allocations: 174.4 kB / 0.8315 GB, free: 416 kB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001032/0.5757, allocations: 79.05 kB / 0.8316 GB, free: 384 kB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.725e-05/0.5757, allocations: 64.95 kB / 0.8317 GB, free: 372 kB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.758e-06/0.5757, allocations: 3.938 kB / 0.8317 GB, free: 368 kB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.856e-05/0.5758, allocations: 33.45 kB / 0.8317 GB, free: 328 kB / 0.5762 GB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.5758, allocations: 0 / 0.8317 GB, free: 328 kB / 0.5762 GB Notification: Performance of matching and sorting (n=4): time 0.0003801/0.5761, allocations: 251.1 kB / 0.8319 GB, free: 244 kB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.905e-05/0.5762, allocations: 84.78 kB / 0.832 GB, free: 144 kB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.802e-05/0.5763, allocations: 156.3 kB / 0.8322 GB, free: 20 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.126e-05/0.5763, allocations: 25.7 kB / 0.8322 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 6.302e-05/0.5764, allocations: 93.03 kB / 0.8323 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.418e-05/0.5764, allocations: 6.25 kB / 0.8323 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.365e-05/0.5765, allocations: 30.55 kB / 0.8323 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.5766, allocations: 319.6 kB / 0.8326 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001184/0.5767, allocations: 105.2 kB / 0.8327 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001068/0.5768, allocations: 106.7 kB / 0.8328 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002693/0.5771, allocations: 277.5 kB / 0.8331 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.5771, allocations: 4 kB / 0.8331 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003587/0.5775, allocations: 321.8 kB / 0.8334 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 7.012e-05/0.5775, allocations: 74.53 kB / 0.8335 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.5775, allocations: 0 / 0.8335 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.5776, allocations: 3.938 kB / 0.8335 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.834e-06/0.5776, allocations: 4.641 kB / 0.8335 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.5776, allocations: 0 / 0.8335 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001695/0.5777, allocations: 14.34 kB / 0.8335 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.419e-05/0.5777, allocations: 7.938 kB / 0.8335 GB, free: 15.17 MB / 0.5919 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.0001355/0.5779, allocations: 154.8 kB / 0.8336 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.283e-05/0.5779, allocations: 12.61 kB / 0.8337 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.73e-05/0.5779, allocations: 6.547 kB / 0.8337 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.5779, allocations: 2.25 kB / 0.8337 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.5779, allocations: 0 / 0.8337 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.5779, allocations: 0 / 0.8337 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000145/0.5781, allocations: 175.7 kB / 0.8338 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.5781, allocations: 2.141 kB / 0.8338 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.91e-07/0.5781, allocations: 4 kB / 0.8338 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.5781, allocations: 0 / 0.8338 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.5781, allocations: 3.016 kB / 0.8338 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.5781, allocations: 0 / 0.8338 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.5781, allocations: 0.5625 kB / 0.8338 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003016/0.5784, allocations: 236.3 kB / 0.8341 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 4.946e-05/0.5784, allocations: 83.58 kB / 0.8342 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.847e-05/0.5785, allocations: 3.359 kB / 0.8342 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.808e-05/0.5785, allocations: 9.016 kB / 0.8342 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.775e-05/0.5786, allocations: 10.8 kB / 0.8342 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.895e-06/0.5786, allocations: 2.109 kB / 0.8342 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 7.765e-05/0.5787, allocations: 110.3 kB / 0.8343 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5787, allocations: 0 / 0.8343 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003459/0.579, allocations: 65.38 kB / 0.8343 GB, free: 14.48 MB / 0.5919 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.00079/0.5798, allocations: 0.8135 MB / 0.8351 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003964/0.5802, allocations: 329.4 kB / 0.8355 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.5802, allocations: 0 / 0.8355 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001308/0.5803, allocations: 124.5 kB / 0.8356 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001507/0.5805, allocations: 7.094 kB / 0.8356 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002246/0.5827, allocations: 2.142 MB / 0.8377 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003522/0.5831, allocations: 0.6913 MB / 0.8383 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 7.324e-06/0.5831, allocations: 3.938 kB / 0.8383 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.452e-05/0.5831, allocations: 20.88 kB / 0.8384 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of SimCode: time 6.61e-07/0.5831, allocations: 0 / 0.8384 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0214/0.6045, allocations: 3.366 MB / 0.8417 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.216/8.821, allocations: 12.3 kB / 0.8417 GB, free: 11.01 MB / 0.5919 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_CubicHermite_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_CubicHermite.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.878568893007468] Failed to read output from testmodel.py, exit status != 0: 8.948377083986998 8.9782486 8.398482357 Calling exit ...