Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002009/0.002009, 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.002298/0.002298, 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.548/1.548, allocations: 230.6 MB / 253.5 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.909/2.909, allocations: 476.7 MB / 0.7678 GB, free: 9.371 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Utilities_Math_Functions_Examples_CubicHermite",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="Buildings_11_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.002191/0.002191, allocations: 63.91 kB / 1.113 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.994/0.9962, allocations: 169.9 MB / 1.279 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.002472/0.9987, allocations: 0.6266 MB / 1.28 GB, free: 11.35 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002996/1.002, allocations: 1.445 MB / 1.281 GB, free: 10.31 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.099e-05/1.002, allocations: 0.9375 kB / 1.281 GB, free: 10.31 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 7.903e-05/1.002, allocations: 4.547 kB / 1.281 GB, free: 10.31 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.599e-05/1.002, allocations: 6.828 kB / 1.281 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001136/1.003, allocations: 180.8 kB / 1.281 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001807/1.003, allocations: 45.27 kB / 1.281 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.906e-05/1.003, allocations: 2.734 kB / 1.281 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.396e-05/1.003, allocations: 20.91 kB / 1.281 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.091e-05/1.003, allocations: 25.8 kB / 1.281 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.426e-05/1.003, allocations: 6.906 kB / 1.281 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006474/1.004, allocations: 209.3 kB / 1.281 GB, free: 10.15 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 7.129e-05/1.004, allocations: 8.406 kB / 1.281 GB, free: 10.15 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 7.373e-05/1.004, allocations: 25.41 kB / 1.282 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005767/1.005, allocations: 189 kB / 1.282 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/1.005, allocations: 0.5625 kB / 1.282 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.204e-06/1.005, allocations: 0.625 kB / 1.282 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.051e-06/1.005, allocations: 3.938 kB / 1.282 GB, free: 10.08 MB / 0.9981 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.0006377/1.005, allocations: 443.8 kB / 1.282 GB, free: 9.629 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.951e-05/1.006, allocations: 9.844 kB / 1.282 GB, free: 9.629 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.989e-05/1.006, allocations: 8.781 kB / 1.282 GB, free: 9.621 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.536e-05/1.006, allocations: 32.84 kB / 1.282 GB, free: 9.582 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.714e-05/1.006, allocations: 8.75 kB / 1.282 GB, free: 9.578 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001716/1.006, allocations: 178.1 kB / 1.282 GB, free: 9.371 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.537e-05/1.006, allocations: 2 kB / 1.282 GB, free: 9.371 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.055e-05/1.006, allocations: 3.688 kB / 1.282 GB, free: 9.371 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002445/1.006, allocations: 101 kB / 1.282 GB, free: 9.328 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/1.006, allocations: 1.125 kB / 1.282 GB, free: 9.328 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/1.006, allocations: 5.25 kB / 1.282 GB, free: 9.324 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/1.006, allocations: 0 / 1.282 GB, free: 9.324 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000121/1.006, allocations: 68.25 kB / 1.283 GB, free: 9.312 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002174/1.006, allocations: 176.1 kB / 1.283 GB, free: 9.113 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001429/1.007, allocations: 74.92 kB / 1.283 GB, free: 9.086 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001032/1.007, allocations: 65.41 kB / 1.283 GB, free: 9.074 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.183e-05/1.007, allocations: 3.938 kB / 1.283 GB, free: 9.07 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.36e-05/1.007, allocations: 32.62 kB / 1.283 GB, free: 9.031 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.223e-06/1.007, allocations: 4 kB / 1.283 GB, free: 9.027 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0004795/1.007, allocations: 252.5 kB / 1.283 GB, free: 8.945 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.935e-05/1.007, allocations: 79.42 kB / 1.283 GB, free: 8.852 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001654/1.008, allocations: 155 kB / 1.283 GB, free: 8.73 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.084e-05/1.008, allocations: 27.48 kB / 1.283 GB, free: 8.699 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.201e-05/1.008, allocations: 92.17 kB / 1.283 GB, free: 8.609 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.971e-05/1.008, allocations: 12.16 kB / 1.283 GB, free: 8.602 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.07e-05/1.008, allocations: 28.2 kB / 1.283 GB, free: 8.582 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001889/1.008, allocations: 323 kB / 1.284 GB, free: 8.262 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001521/1.008, allocations: 106.8 kB / 1.284 GB, free: 8.246 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001453/1.008, allocations: 101.8 kB / 1.284 GB, free: 8.234 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003073/1.008, allocations: 272.8 kB / 1.284 GB, free: 8.105 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/1.008, allocations: 1.25 kB / 1.284 GB, free: 8.105 MB / 0.9981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004482/1.009, allocations: 327.5 kB / 1.285 GB, free: 7.969 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 8.075e-05/1.009, allocations: 72.64 kB / 1.285 GB, free: 7.902 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/1.009, allocations: 0 / 1.285 GB, free: 7.902 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/1.009, allocations: 0 / 1.285 GB, free: 7.902 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.035e-06/1.009, allocations: 0.6562 kB / 1.285 GB, free: 7.902 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/1.009, allocations: 5.5 kB / 1.285 GB, free: 7.898 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002072/1.009, allocations: 14.52 kB / 1.285 GB, free: 7.891 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.638e-05/1.009, allocations: 4.031 kB / 1.285 GB, free: 7.891 MB / 0.9981 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.000149/1.009, allocations: 153.4 kB / 1.285 GB, free: 7.742 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.322e-05/1.009, allocations: 12.69 kB / 1.285 GB, free: 7.734 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.17e-05/1.009, allocations: 6.219 kB / 1.285 GB, free: 7.723 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/1.009, allocations: 0.7969 kB / 1.285 GB, free: 7.723 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/1.009, allocations: 1.312 kB / 1.285 GB, free: 7.723 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/1.009, allocations: 7.984 kB / 1.285 GB, free: 7.715 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001786/1.01, allocations: 176.4 kB / 1.285 GB, free: 7.516 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/1.01, allocations: 1.312 kB / 1.285 GB, free: 7.516 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.91e-07/1.01, allocations: 0 / 1.285 GB, free: 7.516 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/1.01, allocations: 0 / 1.285 GB, free: 7.516 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.728e-05/1.01, allocations: 7.406 kB / 1.285 GB, free: 7.512 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/1.01, allocations: 0 / 1.285 GB, free: 7.512 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/1.01, allocations: 1.375 kB / 1.285 GB, free: 7.512 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003446/1.01, allocations: 239.8 kB / 1.285 GB, free: 7.383 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.515e-05/1.01, allocations: 84.41 kB / 1.285 GB, free: 7.285 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.069e-05/1.01, allocations: 1.875 kB / 1.285 GB, free: 7.285 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.052e-05/1.01, allocations: 4.703 kB / 1.285 GB, free: 7.285 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.044e-05/1.01, allocations: 10.05 kB / 1.285 GB, free: 7.281 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.666e-06/1.01, allocations: 3.828 kB / 1.285 GB, free: 7.281 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 8.514e-05/1.01, allocations: 103.7 kB / 1.285 GB, free: 7.203 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8.1e-08/1.01, allocations: 0 / 1.285 GB, free: 7.203 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004487/1.011, allocations: 69.03 kB / 1.286 GB, free: 7.191 MB / 0.9981 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.0009211/1.012, allocations: 0.82 MB / 1.286 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004722/1.012, allocations: 327.8 kB / 1.287 GB, free: 6.375 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/1.012, allocations: 0 / 1.287 GB, free: 6.375 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001549/1.012, allocations: 125.3 kB / 1.287 GB, free: 6.305 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000186/1.012, allocations: 6.797 kB / 1.287 GB, free: 6.305 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002505/1.015, allocations: 2.142 MB / 1.289 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003293/1.015, allocations: 0.695 MB / 1.29 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 9.558e-06/1.015, allocations: 3.938 kB / 1.29 GB, free: 4.23 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.491e-05/1.015, allocations: 18.47 kB / 1.29 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of SimCode: time 4.71e-07/1.015, allocations: 0 / 1.29 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02296/1.038, allocations: 3.348 MB / 1.293 GB, free: 3.703 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.599/9.638, allocations: 18.84 kB / 1.293 GB, free: 3.688 MB / 0.9981 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Functions_Examples_CubicHermite_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Functions_Examples_CubicHermite.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 16.159276409016456] Failed to read output from testmodel.py, exit status != 0: 9.770620989031158 9.789345206 8.780622404 Calling exit ...