Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.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.00182/0.00182, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001696/0.001696, allocations: 213.4 kB / 23.03 MB, free: 4.926 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.535/1.535, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.414/3.414, allocations: 0.5003 GB / 0.8062 GB, free: 28.23 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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(Buildings.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_CubicHermite",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_CubicHermite",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings 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.002033/0.002033, allocations: 65.97 kB / 1.171 GB, free: 19.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4378/0.4398, allocations: 179 MB / 1.345 GB, free: 15.89 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.002097/0.4419, allocations: 0.6254 MB / 1.346 GB, free: 15.27 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002474/0.4444, allocations: 1.377 MB / 1.347 GB, free: 13.87 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.335e-05/0.4444, allocations: 3.938 kB / 1.347 GB, free: 13.87 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 6.367e-05/0.4445, allocations: 7.938 kB / 1.347 GB, free: 13.86 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 4.031e-05/0.4445, allocations: 0 / 1.347 GB, free: 13.86 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008168/0.4454, allocations: 187.5 kB / 1.347 GB, free: 13.68 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001559/0.4455, allocations: 43.91 kB / 1.348 GB, free: 13.63 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 6.262e-05/0.4456, allocations: 16.2 kB / 1.348 GB, free: 13.62 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 5.457e-05/0.4456, allocations: 15.98 kB / 1.348 GB, free: 13.6 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 8.054e-05/0.4457, allocations: 31.89 kB / 1.348 GB, free: 13.57 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.043e-05/0.4457, allocations: 4 kB / 1.348 GB, free: 13.57 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000463/0.4462, allocations: 219.7 kB / 1.348 GB, free: 13.35 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 6.393e-05/0.4463, allocations: 11.94 kB / 1.348 GB, free: 13.34 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 6.815e-05/0.4463, allocations: 23.91 kB / 1.348 GB, free: 13.32 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004034/0.4467, allocations: 191.4 kB / 1.348 GB, free: 13.13 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.4467, allocations: 0 / 1.348 GB, free: 13.13 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.663e-06/0.4467, allocations: 4 kB / 1.348 GB, free: 13.12 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.081e-06/0.4467, allocations: 0 / 1.348 GB, free: 13.12 MB / 1.045 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.0005825/0.4473, allocations: 373.2 kB / 1.348 GB, free: 12.72 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.066e-05/0.4474, allocations: 11.97 kB / 1.348 GB, free: 12.71 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.106e-05/0.4474, allocations: 4.125 kB / 1.348 GB, free: 12.7 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.647e-05/0.4474, allocations: 34.75 kB / 1.348 GB, free: 12.66 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.436e-05/0.4475, allocations: 4.891 kB / 1.348 GB, free: 12.66 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000151/0.4476, allocations: 118.4 kB / 1.349 GB, free: 12.52 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.4476, allocations: 384 / 1.349 GB, free: 12.52 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.004e-05/0.4477, allocations: 4.375 kB / 1.349 GB, free: 12.51 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002372/0.4479, allocations: 127.3 kB / 1.349 GB, free: 12.38 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.4479, allocations: 0 / 1.349 GB, free: 12.38 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.409e-05/0.4479, allocations: 4 kB / 1.349 GB, free: 12.37 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.411e-06/0.4479, allocations: 4 kB / 1.349 GB, free: 12.37 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001259/0.4481, allocations: 85.66 kB / 1.349 GB, free: 12.28 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000216/0.4483, allocations: 156.6 kB / 1.349 GB, free: 12.08 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001519/0.4484, allocations: 108.2 kB / 1.349 GB, free: 11.96 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001219/0.4485, allocations: 94.58 kB / 1.349 GB, free: 11.86 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.625e-05/0.4486, allocations: 7.922 kB / 1.349 GB, free: 11.85 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.9e-05/0.4486, allocations: 34.56 kB / 1.349 GB, free: 11.81 MB / 1.045 GB Notification: Performance of pre-optimization done (n=4): time 1.322e-06/0.4486, allocations: 0 / 1.349 GB, free: 11.81 MB / 1.045 GB Notification: Performance of matching and sorting (n=4): time 0.000537/0.4491, allocations: 318.5 kB / 1.349 GB, free: 11.47 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.488e-05/0.4492, allocations: 77.11 kB / 1.349 GB, free: 11.38 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001623/0.4494, allocations: 147.7 kB / 1.35 GB, free: 11.23 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.265e-05/0.4494, allocations: 25.7 kB / 1.35 GB, free: 11.2 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.579e-05/0.4495, allocations: 96.09 kB / 1.35 GB, free: 11.1 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.031e-05/0.4495, allocations: 11.89 kB / 1.35 GB, free: 11.09 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.181e-05/0.4496, allocations: 29.7 kB / 1.35 GB, free: 11.05 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001632/0.4498, allocations: 326.8 kB / 1.35 GB, free: 10.72 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001943/0.4499, allocations: 167.3 kB / 1.35 GB, free: 10.55 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001827/0.4501, allocations: 167.3 kB / 1.35 GB, free: 10.37 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00035/0.4505, allocations: 281.8 kB / 1.351 GB, free: 10.07 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.4505, allocations: 3.938 kB / 1.351 GB, free: 10.07 MB / 1.045 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004629/0.4509, allocations: 396.2 kB / 1.351 GB, free: 9.652 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 9.079e-05/0.451, allocations: 79.38 kB / 1.351 GB, free: 9.562 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.451, allocations: 0 / 1.351 GB, free: 9.562 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.4511, allocations: 0 / 1.351 GB, free: 9.562 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.382e-06/0.4511, allocations: 4 kB / 1.351 GB, free: 9.559 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.4511, allocations: 0 / 1.351 GB, free: 9.559 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002352/0.4513, allocations: 11.89 kB / 1.351 GB, free: 9.547 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.839e-05/0.4513, allocations: 4 kB / 1.351 GB, free: 9.543 MB / 1.045 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.000152/0.4515, allocations: 159.5 kB / 1.351 GB, free: 9.371 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.563e-05/0.4515, allocations: 11.89 kB / 1.351 GB, free: 9.359 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.061e-05/0.4515, allocations: 8.344 kB / 1.351 GB, free: 9.344 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.4515, allocations: 0 / 1.351 GB, free: 9.344 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.467e-06/0.4515, allocations: 4 kB / 1.351 GB, free: 9.34 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.4515, allocations: 0 / 1.351 GB, free: 9.34 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001428/0.4517, allocations: 144.7 kB / 1.351 GB, free: 9.156 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.4517, allocations: 0 / 1.351 GB, free: 9.156 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.9e-07/0.4517, allocations: 0 / 1.351 GB, free: 9.156 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.4517, allocations: 4 kB / 1.351 GB, free: 9.152 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.4517, allocations: 0 / 1.351 GB, free: 9.152 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.289e-06/0.4517, allocations: 4 kB / 1.351 GB, free: 9.148 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.4517, allocations: 0 / 1.351 GB, free: 9.148 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003462/0.4521, allocations: 268.3 kB / 1.352 GB, free: 8.855 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.669e-05/0.4521, allocations: 11.89 kB / 1.352 GB, free: 8.844 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.642e-05/0.4521, allocations: 3.984 kB / 1.352 GB, free: 8.84 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.451e-05/0.4521, allocations: 4 kB / 1.352 GB, free: 8.836 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.023e-05/0.4522, allocations: 7.984 kB / 1.352 GB, free: 8.828 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-06/0.4522, allocations: 4 kB / 1.352 GB, free: 8.824 MB / 1.045 GB Notification: Performance of sorting global known variables: time 8.739e-05/0.4523, allocations: 105.1 kB / 1.352 GB, free: 8.723 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.4523, allocations: 0 / 1.352 GB, free: 8.723 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003636/0.4527, allocations: 67.92 kB / 1.352 GB, free: 8.656 MB / 1.045 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.0008988/0.4536, allocations: 0.8459 MB / 1.353 GB, free: 7.77 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.000519/0.4541, allocations: 415.8 kB / 1.353 GB, free: 7.32 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.4541, allocations: 0 / 1.353 GB, free: 7.32 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001649/0.4543, allocations: 157 kB / 1.353 GB, free: 7.148 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001724/0.4544, allocations: 15.92 kB / 1.353 GB, free: 7.133 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002675/0.4571, allocations: 2.439 MB / 1.356 GB, free: 4.543 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.015e-05/0.4572, allocations: 79.31 kB / 1.356 GB, free: 4.445 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 7.413e-06/0.4572, allocations: 0 / 1.356 GB, free: 4.445 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.817e-05/0.4572, allocations: 15.44 kB / 1.356 GB, free: 4.43 MB / 1.045 GB Notification: Performance of SimCode: time 7.31e-07/0.4572, allocations: 8.094 kB / 1.356 GB, free: 4.422 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02523/0.4825, allocations: 3.537 MB / 1.359 GB, free: 1.043 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.76, allocations: 12 kB / 1.359 GB, free: 1.031 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_CubicHermite_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_CubicHermite.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 18.991878228029236] Failed to read output from testmodel.py, exit status != 0: 11.921259852009825 11.948339271 11.496547224 Calling exit ...