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.001515/0.001515, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.001659/0.001659, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.574/1.574, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.143/3.143, allocations: 0.5003 GB / 0.8026 GB, free: 6.734 MB / 0.6387 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.002461/0.002461, allocations: 71.91 kB / 1.165 GB, free: 484 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.108/1.111, allocations: 178.9 MB / 1.34 GB, free: 16.26 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001898/1.113, allocations: 0.6247 MB / 1.341 GB, free: 15.86 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001962/1.115, allocations: 1.439 MB / 1.342 GB, free: 14.83 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.342e-05/1.115, allocations: 5.188 kB / 1.342 GB, free: 14.83 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 7.193e-05/1.115, allocations: 4.547 kB / 1.342 GB, free: 14.82 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.495e-05/1.115, allocations: 2.953 kB / 1.342 GB, free: 14.82 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008109/1.116, allocations: 180.1 kB / 1.342 GB, free: 14.76 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001276/1.116, allocations: 41.33 kB / 1.342 GB, free: 14.75 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.418e-05/1.116, allocations: 2.844 kB / 1.342 GB, free: 14.75 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.258e-05/1.116, allocations: 28.44 kB / 1.342 GB, free: 14.73 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.488e-05/1.116, allocations: 34.53 kB / 1.342 GB, free: 14.72 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.827e-05/1.116, allocations: 2.438 kB / 1.342 GB, free: 14.72 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004031/1.116, allocations: 205.5 kB / 1.343 GB, free: 14.66 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.168e-05/1.116, allocations: 12.44 kB / 1.343 GB, free: 14.66 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.444e-05/1.116, allocations: 25.55 kB / 1.343 GB, free: 14.64 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003122/1.117, allocations: 193 kB / 1.343 GB, free: 14.59 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/1.117, allocations: 0 / 1.343 GB, free: 14.59 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.493e-06/1.117, allocations: 1.031 kB / 1.343 GB, free: 14.59 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.931e-06/1.117, allocations: 0 / 1.343 GB, free: 14.59 MB / 1.061 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.0004439/1.117, allocations: 450.6 kB / 1.343 GB, free: 14.13 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/1.117, allocations: 9.938 kB / 1.343 GB, free: 14.13 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.894e-05/1.117, allocations: 192 / 1.343 GB, free: 14.13 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.414e-05/1.117, allocations: 32.89 kB / 1.343 GB, free: 14.09 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.737e-05/1.117, allocations: 8.016 kB / 1.343 GB, free: 14.09 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001101/1.117, allocations: 177.3 kB / 1.344 GB, free: 13.88 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/1.117, allocations: 1.719 kB / 1.344 GB, free: 13.88 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.516e-05/1.117, allocations: 3.906 kB / 1.344 GB, free: 13.88 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001982/1.118, allocations: 101.8 kB / 1.344 GB, free: 13.84 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/1.118, allocations: 4.703 kB / 1.344 GB, free: 13.84 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/1.118, allocations: 0 / 1.344 GB, free: 13.84 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/1.118, allocations: 1.812 kB / 1.344 GB, free: 13.84 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001009/1.118, allocations: 64.42 kB / 1.344 GB, free: 13.83 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000151/1.118, allocations: 173.5 kB / 1.344 GB, free: 13.63 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001201/1.118, allocations: 76.53 kB / 1.344 GB, free: 13.6 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.837e-05/1.118, allocations: 64.77 kB / 1.344 GB, free: 13.59 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.152e-05/1.118, allocations: 8.641 kB / 1.344 GB, free: 13.58 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.899e-05/1.118, allocations: 31.94 kB / 1.344 GB, free: 13.54 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 1.223e-06/1.118, allocations: 0 / 1.344 GB, free: 13.54 MB / 1.061 GB Notification: Performance of matching and sorting (n=4): time 0.0004684/1.119, allocations: 255.6 kB / 1.344 GB, free: 13.46 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.761e-05/1.119, allocations: 81.27 kB / 1.344 GB, free: 13.36 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001235/1.119, allocations: 144.3 kB / 1.345 GB, free: 13.25 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.327e-05/1.119, allocations: 27.08 kB / 1.345 GB, free: 13.22 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.926e-05/1.119, allocations: 100.3 kB / 1.345 GB, free: 13.12 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.163e-05/1.119, allocations: 15.84 kB / 1.345 GB, free: 13.11 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.179e-05/1.119, allocations: 28.58 kB / 1.345 GB, free: 13.09 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.667e-05/1.119, allocations: 320.4 kB / 1.345 GB, free: 12.77 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001404/1.119, allocations: 101.1 kB / 1.345 GB, free: 12.76 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000148/1.119, allocations: 101.3 kB / 1.345 GB, free: 12.75 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000293/1.12, allocations: 281.9 kB / 1.345 GB, free: 12.61 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/1.12, allocations: 3.938 kB / 1.345 GB, free: 12.61 MB / 1.061 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003627/1.12, allocations: 323.6 kB / 1.346 GB, free: 12.48 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 5.212e-05/1.12, allocations: 72.39 kB / 1.346 GB, free: 12.41 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/1.12, allocations: 9.344 kB / 1.346 GB, free: 12.4 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/1.12, allocations: 0.5156 kB / 1.346 GB, free: 12.4 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.41e-07/1.12, allocations: 0 / 1.346 GB, free: 12.4 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/1.12, allocations: 1.703 kB / 1.346 GB, free: 12.4 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001857/1.12, allocations: 13.88 kB / 1.346 GB, free: 12.39 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.644e-05/1.12, allocations: 4.469 kB / 1.346 GB, free: 12.39 MB / 1.061 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 9.11e-05/1.12, allocations: 151.2 kB / 1.346 GB, free: 12.25 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.919e-05/1.12, allocations: 12.88 kB / 1.346 GB, free: 12.24 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.666e-05/1.12, allocations: 10.56 kB / 1.346 GB, free: 12.22 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/1.12, allocations: 0.7031 kB / 1.346 GB, free: 12.22 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/1.12, allocations: 0 / 1.346 GB, free: 12.22 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/1.12, allocations: 1.609 kB / 1.346 GB, free: 12.22 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.827e-05/1.12, allocations: 175.8 kB / 1.346 GB, free: 12.02 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/1.12, allocations: 0 / 1.346 GB, free: 12.02 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.134e-06/1.12, allocations: 6.125 kB / 1.346 GB, free: 12.02 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/1.12, allocations: 0 / 1.346 GB, free: 12.02 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/1.12, allocations: 2.656 kB / 1.346 GB, free: 12.02 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/1.12, allocations: 0.7969 kB / 1.346 GB, free: 12.02 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/1.12, allocations: 3.938 kB / 1.346 GB, free: 12.02 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002633/1.121, allocations: 232.8 kB / 1.346 GB, free: 11.89 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.389e-05/1.121, allocations: 83 kB / 1.347 GB, free: 11.8 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.156e-05/1.121, allocations: 3.406 kB / 1.347 GB, free: 11.8 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.749e-05/1.121, allocations: 3.875 kB / 1.347 GB, free: 11.8 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.959e-05/1.121, allocations: 10.89 kB / 1.347 GB, free: 11.79 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.584e-06/1.121, allocations: 2.75 kB / 1.347 GB, free: 11.79 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.764e-05/1.121, allocations: 109.7 kB / 1.347 GB, free: 11.71 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.121, allocations: 4.031 kB / 1.347 GB, free: 11.71 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003723/1.121, allocations: 69.03 kB / 1.347 GB, free: 11.7 MB / 1.061 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.0006757/1.122, allocations: 0.811 MB / 1.347 GB, free: 11.04 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003915/1.122, allocations: 328.2 kB / 1.348 GB, free: 10.89 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/1.122, allocations: 4.094 kB / 1.348 GB, free: 10.88 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.000125/1.123, allocations: 125 kB / 1.348 GB, free: 10.81 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001544/1.123, allocations: 3.562 kB / 1.348 GB, free: 10.81 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002016/1.125, allocations: 2.14 MB / 1.35 GB, free: 9.441 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001256/1.125, allocations: 0.6902 MB / 1.351 GB, free: 8.746 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 7.764e-06/1.125, allocations: 0.7969 kB / 1.351 GB, free: 8.746 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.809e-05/1.125, allocations: 18.34 kB / 1.351 GB, free: 8.73 MB / 1.061 GB Notification: Performance of SimCode: time 4.31e-07/1.125, allocations: 3.938 kB / 1.351 GB, free: 8.727 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02157/1.146, allocations: 3.353 MB / 1.354 GB, free: 8.234 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.391/9.537, allocations: 3.547 kB / 1.354 GB, free: 8.234 MB / 1.061 GB " [Timeout remaining time 290] (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: 16.59707845200319] Failed to read output from testmodel.py, exit status != 0: 9.688988570997026 9.705904472 8.585666555 Calling exit ...