Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001636/0.001636, allocations: 98.08 kB / 19.73 MB, free: 2.23 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.001923/0.001923, allocations: 219.6 kB / 23.04 MB, free: 5.074 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.494/1.494, allocations: 230.6 MB / 256.8 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.385/3.385, allocations: 0.49 GB / 0.7959 GB, free: 33.27 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_Utilities_Math_Functions_Examples_CubicHermite",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="Buildings_12_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.002043/0.002043, allocations: 64.25 kB / 1.155 GB, free: 25.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3965/0.3985, allocations: 176.1 MB / 1.327 GB, free: 1.945 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.002465/0.401, allocations: 0.624 MB / 1.327 GB, free: 1.328 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002472/0.4034, allocations: 1.455 MB / 1.329 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.134e-05/0.4035, allocations: 0 / 1.329 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 6.389e-05/0.4035, allocations: 0 / 1.329 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 4.229e-05/0.4036, allocations: 0 / 1.329 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008589/0.4044, allocations: 194.1 kB / 1.329 GB, free: 15.67 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001382/0.4046, allocations: 51.95 kB / 1.329 GB, free: 15.62 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.538e-05/0.4046, allocations: 4.266 kB / 1.329 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 4.882e-05/0.4047, allocations: 19.94 kB / 1.329 GB, free: 15.59 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.789e-05/0.4047, allocations: 27.89 kB / 1.329 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.601e-05/0.4048, allocations: 4 kB / 1.329 GB, free: 15.56 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004849/0.4052, allocations: 223.7 kB / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.108e-05/0.4053, allocations: 11.98 kB / 1.329 GB, free: 15.33 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 5.342e-05/0.4053, allocations: 31.8 kB / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004058/0.4058, allocations: 195.3 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.4058, allocations: 0 / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.122e-06/0.4058, allocations: 0 / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.424e-06/0.4058, allocations: 4 kB / 1.329 GB, free: 15.11 MB / 1.029 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.0005908/0.4064, allocations: 365.2 kB / 1.33 GB, free: 14.71 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/0.4064, allocations: 12.02 kB / 1.33 GB, free: 14.7 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.106e-05/0.4064, allocations: 8.188 kB / 1.33 GB, free: 14.69 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.384e-05/0.4065, allocations: 30.75 kB / 1.33 GB, free: 14.65 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.05e-05/0.4065, allocations: 8.891 kB / 1.33 GB, free: 14.64 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001276/0.4066, allocations: 112.5 kB / 1.33 GB, free: 14.51 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.4066, allocations: 4.375 kB / 1.33 GB, free: 14.5 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.149e-05/0.4067, allocations: 4.375 kB / 1.33 GB, free: 14.5 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001969/0.4069, allocations: 97.58 kB / 1.33 GB, free: 14.4 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.4069, allocations: 3.938 kB / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.4069, allocations: 3.938 kB / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.4069, allocations: 4 kB / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001067/0.407, allocations: 59.95 kB / 1.33 GB, free: 14.33 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001923/0.4072, allocations: 152.7 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001423/0.4073, allocations: 82.53 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.496e-05/0.4074, allocations: 68.89 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.09e-05/0.4074, allocations: 3.938 kB / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.262e-05/0.4075, allocations: 30.56 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.4075, allocations: 0 / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0004441/0.4079, allocations: 259.1 kB / 1.331 GB, free: 13.67 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.323e-05/0.408, allocations: 77.11 kB / 1.331 GB, free: 13.57 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001536/0.4081, allocations: 147.4 kB / 1.331 GB, free: 13.42 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 9.701e-05/0.4082, allocations: 33.64 kB / 1.331 GB, free: 13.38 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.423e-05/0.4083, allocations: 88.17 kB / 1.331 GB, free: 13.29 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.178e-05/0.4083, allocations: 19.84 kB / 1.331 GB, free: 13.27 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.706e-05/0.4084, allocations: 29.7 kB / 1.331 GB, free: 13.24 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.4085, allocations: 322.8 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001608/0.4087, allocations: 99.94 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000126/0.4088, allocations: 99.94 kB / 1.332 GB, free: 12.72 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003932/0.4092, allocations: 277.8 kB / 1.332 GB, free: 12.43 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.4092, allocations: 0 / 1.332 GB, free: 12.43 MB / 1.029 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000407/0.4096, allocations: 324.8 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 7.744e-05/0.4097, allocations: 75.38 kB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.4097, allocations: 4 kB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.4097, allocations: 0 / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.31e-07/0.4097, allocations: 0 / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.4097, allocations: 0 / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001957/0.4099, allocations: 7.953 kB / 1.332 GB, free: 11.99 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.538e-05/0.4099, allocations: 4 kB / 1.332 GB, free: 11.99 MB / 1.029 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.4101, allocations: 152.1 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.313e-05/0.4101, allocations: 19.91 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.953e-05/0.4101, allocations: 4.344 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.4101, allocations: 4.141 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.4101, allocations: 3.984 kB / 1.332 GB, free: 11.78 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.4101, allocations: 0 / 1.332 GB, free: 11.78 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00013/0.4102, allocations: 152.7 kB / 1.333 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.4102, allocations: 0 / 1.333 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.836e-06/0.4103, allocations: 3.938 kB / 1.333 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.063e-06/0.4103, allocations: 0 / 1.333 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/0.4103, allocations: 4 kB / 1.333 GB, free: 11.58 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.4103, allocations: 4 kB / 1.333 GB, free: 11.58 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.4103, allocations: 0 / 1.333 GB, free: 11.58 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002912/0.4106, allocations: 230.6 kB / 1.333 GB, free: 11.33 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.762e-05/0.4106, allocations: 11.89 kB / 1.333 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.805e-05/0.4106, allocations: 0 / 1.333 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.812e-05/0.4106, allocations: 4 kB / 1.333 GB, free: 11.31 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.381e-05/0.4107, allocations: 11.98 kB / 1.333 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.247e-06/0.4107, allocations: 4 kB / 1.333 GB, free: 11.3 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.549e-05/0.4108, allocations: 112.6 kB / 1.333 GB, free: 11.19 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4108, allocations: 0 / 1.333 GB, free: 11.19 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003256/0.4111, allocations: 67.92 kB / 1.333 GB, free: 11.12 MB / 1.029 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.0008492/0.412, allocations: 0.813 MB / 1.334 GB, free: 10.27 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004506/0.4124, allocations: 330.7 kB / 1.334 GB, free: 9.926 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4124, allocations: 0 / 1.334 GB, free: 9.926 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001429/0.4126, allocations: 123.4 kB / 1.334 GB, free: 9.793 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001525/0.4127, allocations: 4 kB / 1.334 GB, free: 9.789 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00247/0.4152, allocations: 2.136 MB / 1.336 GB, free: 7.559 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003501/0.4155, allocations: 0.6885 MB / 1.337 GB, free: 6.844 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.867e-05/0.4156, allocations: 7.984 kB / 1.337 GB, free: 6.836 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.013e-05/0.4156, allocations: 15.44 kB / 1.337 GB, free: 6.82 MB / 1.029 GB Notification: Performance of SimCode: time 5.61e-07/0.4156, allocations: 0 / 1.337 GB, free: 6.82 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02759/0.4432, allocations: 3.472 MB / 1.34 GB, free: 3.512 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.69, allocations: 11.11 kB / 1.34 GB, free: 3.504 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Math_Functions_Examples_CubicHermite_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Math_Functions_Examples_CubicHermite.fmu > Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.79488737502834] Failed to read output from testmodel.py, exit status != 0: 11.853510613029357 11.882594206 11.471600849 Calling exit ...