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.001182/0.001182, allocations: 105.2 kB / 19.72 MB, free: 2.234 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.001403/0.001403, allocations: 214.7 kB / 23.04 MB, free: 5.07 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.548/1.548, allocations: 230.6 MB / 256.8 MB, free: 7.953 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.331/3.331, allocations: 0.5003 GB / 0.8061 GB, free: 26.77 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.002014/0.002014, allocations: 78.98 kB / 1.171 GB, free: 19.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4556/0.4576, allocations: 179 MB / 1.345 GB, free: 428 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001717/0.4594, allocations: 0.6176 MB / 1.346 GB, free: 15.8 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001972/0.4613, allocations: 1.455 MB / 1.347 GB, free: 14.33 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.49e-05/0.4613, allocations: 0 / 1.347 GB, free: 14.33 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 5.034e-05/0.4614, allocations: 3.938 kB / 1.347 GB, free: 14.32 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 3.885e-05/0.4614, allocations: 7.984 kB / 1.347 GB, free: 14.32 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.000671/0.4621, allocations: 179.6 kB / 1.348 GB, free: 14.14 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001212/0.4622, allocations: 51.88 kB / 1.348 GB, free: 14.09 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 3.485e-05/0.4623, allocations: 288 / 1.348 GB, free: 14.09 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 4.135e-05/0.4623, allocations: 23.92 kB / 1.348 GB, free: 14.07 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.745e-05/0.4624, allocations: 27.91 kB / 1.348 GB, free: 14.04 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.479e-05/0.4624, allocations: 4 kB / 1.348 GB, free: 14.04 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000396/0.4628, allocations: 227.7 kB / 1.348 GB, free: 13.81 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.857e-05/0.4628, allocations: 8 kB / 1.348 GB, free: 13.8 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.383e-05/0.4629, allocations: 27.8 kB / 1.348 GB, free: 13.78 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002795/0.4631, allocations: 195.4 kB / 1.348 GB, free: 13.59 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.4632, allocations: 0 / 1.348 GB, free: 13.59 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.273e-06/0.4632, allocations: 0 / 1.348 GB, free: 13.59 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.708e-06/0.4632, allocations: 0 / 1.348 GB, free: 13.59 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.0004409/0.4636, allocations: 369.2 kB / 1.348 GB, free: 13.18 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.4636, allocations: 12.03 kB / 1.348 GB, free: 13.17 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.103e-05/0.4636, allocations: 192 / 1.348 GB, free: 13.17 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.283e-05/0.4637, allocations: 42.62 kB / 1.349 GB, free: 13.12 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.555e-05/0.4637, allocations: 8.891 kB / 1.349 GB, free: 13.11 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001084/0.4638, allocations: 120.2 kB / 1.349 GB, free: 12.97 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.397e-06/0.4638, allocations: 4.375 kB / 1.349 GB, free: 12.97 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.399e-05/0.4639, allocations: 384 / 1.349 GB, free: 12.97 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001877/0.464, allocations: 101.6 kB / 1.349 GB, free: 12.86 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.212e-06/0.464, allocations: 0 / 1.349 GB, free: 12.86 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.4641, allocations: 4 kB / 1.349 GB, free: 12.86 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.316e-06/0.4641, allocations: 0 / 1.349 GB, free: 12.86 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.348e-05/0.4642, allocations: 63.94 kB / 1.349 GB, free: 12.8 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001673/0.4643, allocations: 152.7 kB / 1.349 GB, free: 12.61 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001164/0.4644, allocations: 82.47 kB / 1.349 GB, free: 12.52 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.268e-05/0.4645, allocations: 68.89 kB / 1.349 GB, free: 12.45 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.079e-05/0.4645, allocations: 7.922 kB / 1.349 GB, free: 12.44 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.672e-05/0.4646, allocations: 34.56 kB / 1.349 GB, free: 12.39 MB / 1.045 GB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.4646, allocations: 0 / 1.349 GB, free: 12.39 MB / 1.045 GB Notification: Performance of matching and sorting (n=4): time 0.0004302/0.465, allocations: 255.2 kB / 1.349 GB, free: 12.13 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.421e-05/0.4651, allocations: 81.11 kB / 1.349 GB, free: 12.04 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001298/0.4652, allocations: 147.5 kB / 1.35 GB, free: 11.88 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/0.4652, allocations: 29.7 kB / 1.35 GB, free: 11.85 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.443e-05/0.4653, allocations: 88.09 kB / 1.35 GB, free: 11.76 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.562e-05/0.4653, allocations: 19.88 kB / 1.35 GB, free: 11.74 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.727e-05/0.4653, allocations: 25.72 kB / 1.35 GB, free: 11.71 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.4655, allocations: 318.8 kB / 1.35 GB, free: 11.39 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000132/0.4656, allocations: 99.94 kB / 1.35 GB, free: 11.29 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001653/0.4658, allocations: 103.9 kB / 1.35 GB, free: 11.19 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002949/0.4661, allocations: 281.9 kB / 1.351 GB, free: 10.89 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.4661, allocations: 0 / 1.351 GB, free: 10.89 MB / 1.045 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003824/0.4664, allocations: 332.7 kB / 1.351 GB, free: 10.55 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 6.909e-05/0.4665, allocations: 71.39 kB / 1.351 GB, free: 10.46 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.4665, allocations: 0 / 1.351 GB, free: 10.46 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.4665, allocations: 0 / 1.351 GB, free: 10.46 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.32e-07/0.4665, allocations: 0 / 1.351 GB, free: 10.46 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.4665, allocations: 0 / 1.351 GB, free: 10.46 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001683/0.4667, allocations: 11.94 kB / 1.351 GB, free: 10.45 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.702e-05/0.4667, allocations: 4 kB / 1.351 GB, free: 10.45 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.000131/0.4669, allocations: 151.6 kB / 1.351 GB, free: 10.29 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.136e-05/0.4669, allocations: 11.89 kB / 1.351 GB, free: 10.27 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.276e-05/0.4669, allocations: 12.34 kB / 1.351 GB, free: 10.25 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.4669, allocations: 0 / 1.351 GB, free: 10.25 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.4669, allocations: 0 / 1.351 GB, free: 10.25 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.4669, allocations: 0 / 1.351 GB, free: 10.25 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001419/0.4671, allocations: 148.6 kB / 1.351 GB, free: 10.07 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.4671, allocations: 0 / 1.351 GB, free: 10.07 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.51e-07/0.4671, allocations: 0 / 1.351 GB, free: 10.07 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-06/0.4671, allocations: 4 kB / 1.351 GB, free: 10.06 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.4671, allocations: 4 kB / 1.351 GB, free: 10.06 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.4671, allocations: 0 / 1.351 GB, free: 10.06 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.4671, allocations: 0 / 1.351 GB, free: 10.06 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002988/0.4674, allocations: 234.6 kB / 1.351 GB, free: 9.805 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.335e-05/0.4674, allocations: 11.89 kB / 1.351 GB, free: 9.793 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.29e-05/0.4674, allocations: 7.984 kB / 1.351 GB, free: 9.785 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.434e-05/0.4674, allocations: 0 / 1.351 GB, free: 9.785 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.913e-05/0.4675, allocations: 12.02 kB / 1.351 GB, free: 9.773 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.044e-05/0.4675, allocations: 11.94 kB / 1.351 GB, free: 9.762 MB / 1.045 GB Notification: Performance of sorting global known variables: time 7.56e-05/0.4676, allocations: 100.8 kB / 1.352 GB, free: 9.664 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.4676, allocations: 0 / 1.352 GB, free: 9.664 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002956/0.4679, allocations: 67.92 kB / 1.352 GB, free: 9.598 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.0008554/0.4688, allocations: 0.812 MB / 1.352 GB, free: 8.754 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.000445/0.4692, allocations: 334.6 kB / 1.353 GB, free: 8.402 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.4692, allocations: 0 / 1.353 GB, free: 8.402 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001439/0.4693, allocations: 123.3 kB / 1.353 GB, free: 8.27 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001703/0.4695, allocations: 9.203 kB / 1.353 GB, free: 8.262 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002386/0.4719, allocations: 2.135 MB / 1.355 GB, free: 6.035 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003684/0.4723, allocations: 0.6924 MB / 1.356 GB, free: 5.316 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 7.534e-06/0.4723, allocations: 0 / 1.356 GB, free: 5.316 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.711e-05/0.4723, allocations: 19.44 kB / 1.356 GB, free: 5.297 MB / 1.045 GB Notification: Performance of SimCode: time 1.152e-06/0.4723, allocations: 4.031 kB / 1.356 GB, free: 5.293 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02505/0.4974, allocations: 3.464 MB / 1.359 GB, free: 1.977 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.77, allocations: 7.719 kB / 1.359 GB, free: 1.977 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.80713680497138] Failed to read output from testmodel.py, exit status != 0: 11.931009117979556 11.955281758 11.487738788 Calling exit ...