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.001794/0.001794, allocations: 101.5 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.002215/0.002215, allocations: 217.5 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.565/1.565, allocations: 230.6 MB / 256.8 MB, free: 7.984 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.834/2.834, allocations: 476.7 MB / 0.7714 GB, free: 4.309 MB / 0.6231 GB " [Timeout remaining time 177] 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.002063/0.002063, allocations: 68 kB / 1.118 GB, free: 8.973 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3666/0.3687, allocations: 169.9 MB / 1.284 GB, free: 3.832 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001711/0.3704, allocations: 0.6302 MB / 1.285 GB, free: 3.203 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002013/0.3724, allocations: 1.453 MB / 1.286 GB, free: 1.734 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.535e-05/0.3725, allocations: 0 / 1.286 GB, free: 1.734 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.652e-05/0.3725, allocations: 0 / 1.286 GB, free: 1.734 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.115e-05/0.3725, allocations: 11.92 kB / 1.286 GB, free: 1.723 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006435/0.3732, allocations: 175.6 kB / 1.286 GB, free: 1.551 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000108/0.3733, allocations: 47.95 kB / 1.286 GB, free: 1.504 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.167e-05/0.3733, allocations: 4.281 kB / 1.286 GB, free: 1.5 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.712e-05/0.3734, allocations: 27.91 kB / 1.286 GB, free: 1.473 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.798e-05/0.3734, allocations: 19.97 kB / 1.286 GB, free: 1.453 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.48e-05/0.3734, allocations: 4 kB / 1.286 GB, free: 1.449 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003919/0.3738, allocations: 227.7 kB / 1.287 GB, free: 1.227 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.82e-05/0.3739, allocations: 11.94 kB / 1.287 GB, free: 1.215 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.54e-05/0.3739, allocations: 27.8 kB / 1.287 GB, free: 1.188 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002841/0.3742, allocations: 195.4 kB / 1.287 GB, free: 0.9961 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.3742, allocations: 0 / 1.287 GB, free: 0.9961 MB / 0.9825 GB Notification: Performance of FrontEnd: time 9.81e-07/0.3742, allocations: 3.938 kB / 1.287 GB, free: 0.9922 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.3742, allocations: 4 kB / 1.287 GB, free: 0.9883 MB / 0.9825 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.0004538/0.3747, allocations: 365.3 kB / 1.287 GB, free: 0.5898 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/0.3747, allocations: 12.03 kB / 1.287 GB, free: 0.5781 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.192e-05/0.3747, allocations: 192 / 1.287 GB, free: 0.5781 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.913e-05/0.3748, allocations: 30.75 kB / 1.287 GB, free: 0.5391 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.31e-05/0.3748, allocations: 8.891 kB / 1.287 GB, free: 0.5312 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001086/0.3749, allocations: 113.2 kB / 1.287 GB, free: 408 kB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/0.3749, allocations: 8.375 kB / 1.287 GB, free: 400 kB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.369e-05/0.3749, allocations: 384 / 1.287 GB, free: 400 kB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001799/0.3751, allocations: 109.5 kB / 1.288 GB, free: 284 kB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.172e-06/0.3751, allocations: 0 / 1.288 GB, free: 284 kB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.3751, allocations: 4 kB / 1.288 GB, free: 280 kB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.3751, allocations: 3.984 kB / 1.288 GB, free: 276 kB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.621e-05/0.3752, allocations: 59.95 kB / 1.288 GB, free: 216 kB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001586/0.3754, allocations: 160.6 kB / 1.288 GB, free: 12 kB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001325/0.3755, allocations: 74.53 kB / 1.288 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.366e-05/0.3756, allocations: 68.89 kB / 1.288 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.326e-06/0.3756, allocations: 7.922 kB / 1.288 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.954e-05/0.3757, allocations: 34.5 kB / 1.288 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.3757, allocations: 0 / 1.288 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0004087/0.3761, allocations: 247.3 kB / 1.288 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.803e-05/0.3761, allocations: 85.11 kB / 1.288 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001328/0.3763, allocations: 145.7 kB / 1.288 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.911e-05/0.3763, allocations: 29.7 kB / 1.288 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.379e-05/0.3763, allocations: 92.17 kB / 1.289 GB, free: 15.17 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.768e-05/0.3764, allocations: 15.83 kB / 1.289 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.133e-05/0.3764, allocations: 25.72 kB / 1.289 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001485/0.3766, allocations: 322.8 kB / 1.289 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001329/0.3767, allocations: 99.94 kB / 1.289 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001288/0.3768, allocations: 107.9 kB / 1.289 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002959/0.3771, allocations: 273.8 kB / 1.289 GB, free: 14.31 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.3771, allocations: 0 / 1.289 GB, free: 14.31 MB / 0.9981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003809/0.3775, allocations: 336.8 kB / 1.29 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 6.92e-05/0.3776, allocations: 67.39 kB / 1.29 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.3776, allocations: 0 / 1.29 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.3776, allocations: 0 / 1.29 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.01e-07/0.3776, allocations: 0 / 1.29 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.3776, allocations: 0 / 1.29 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001508/0.3778, allocations: 11.94 kB / 1.29 GB, free: 13.87 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.341e-05/0.3778, allocations: 4 kB / 1.29 GB, free: 13.87 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.0001199/0.3779, allocations: 151.5 kB / 1.29 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.103e-05/0.3779, allocations: 15.92 kB / 1.29 GB, free: 13.69 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.503e-05/0.3779, allocations: 8.344 kB / 1.29 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.3779, allocations: 0 / 1.29 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.3779, allocations: 3.938 kB / 1.29 GB, free: 13.67 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.944e-06/0.3779, allocations: 0 / 1.29 GB, free: 13.67 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001307/0.3781, allocations: 148.7 kB / 1.29 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.3781, allocations: 4 kB / 1.29 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.91e-07/0.3781, allocations: 0 / 1.29 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-06/0.3781, allocations: 0 / 1.29 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.3781, allocations: 4 kB / 1.29 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.3781, allocations: 0 / 1.29 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.3781, allocations: 4 kB / 1.29 GB, free: 13.47 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002995/0.3784, allocations: 234.6 kB / 1.29 GB, free: 13.22 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.114e-05/0.3784, allocations: 7.891 kB / 1.29 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.426e-05/0.3784, allocations: 7.984 kB / 1.29 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.609e-05/0.3785, allocations: 3.938 kB / 1.29 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.122e-05/0.3785, allocations: 7.984 kB / 1.29 GB, free: 13.19 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.033e-06/0.3785, allocations: 4 kB / 1.29 GB, free: 13.19 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.817e-05/0.3786, allocations: 110 kB / 1.29 GB, free: 13.08 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3786, allocations: 0 / 1.29 GB, free: 13.08 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002906/0.3789, allocations: 63.92 kB / 1.29 GB, free: 13.02 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.0007865/0.3797, allocations: 0.8091 MB / 1.291 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004124/0.3801, allocations: 334.6 kB / 1.292 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3801, allocations: 4.094 kB / 1.292 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001416/0.3803, allocations: 127.3 kB / 1.292 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001491/0.3804, allocations: 8 kB / 1.292 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00237/0.3828, allocations: 2.139 MB / 1.294 GB, free: 9.445 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003253/0.3831, allocations: 0.6963 MB / 1.294 GB, free: 8.723 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 6.392e-06/0.3831, allocations: 0 / 1.294 GB, free: 8.723 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.148e-05/0.3831, allocations: 15.44 kB / 1.295 GB, free: 8.707 MB / 0.9981 GB Notification: Performance of SimCode: time 4.51e-07/0.3831, allocations: 0 / 1.295 GB, free: 8.707 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02655/0.4097, allocations: 3.462 MB / 1.298 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/11.9, allocations: 6.062 kB / 1.298 GB, free: 5.395 MB / 0.9981 GB " [Timeout remaining time 288] (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: 18.85263063700404] Failed to read output from testmodel.py, exit status != 0: 12.067825164005626 12.083880807 11.706286963 Calling exit ...