Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.0009098/0.0009098, allocations: 81.86 kB / 19.87 MB, free: 4.621 MB / 18.57 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.0009928/0.0009928, allocations: 169.7 kB / 23.28 MB, free: 1.219 MB / 18.57 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 0.9587/0.9587, allocations: 177.1 MB / 203.7 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001868/0.001868, allocations: 246.2 kB / 260.5 MB, free: 12.66 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.8566/0.8566, allocations: 138.4 MB / 455.5 MB, free: 29.93 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 0.5556 GB, free: 15.84 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.153e-05/2.346e-05, allocations: 3.953 kB / 0.5556 GB, free: 15.84 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite): time 0.00129/0.001313, allocations: 0.6321 MB / 0.5563 GB, free: 15.2 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001515/0.002828, allocations: 1.415 MB / 0.5576 GB, free: 13.77 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.121e-05/0.002869, allocations: 0 / 0.5576 GB, free: 13.77 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 7.439e-05/0.002944, allocations: 3.938 kB / 0.5576 GB, free: 13.77 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.926e-05/0.003003, allocations: 15.92 kB / 0.5577 GB, free: 13.75 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000674/0.003677, allocations: 179.5 kB / 0.5578 GB, free: 13.57 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001085/0.003785, allocations: 47.95 kB / 0.5579 GB, free: 13.53 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.942e-05/0.003825, allocations: 4 kB / 0.5579 GB, free: 13.52 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.678e-05/0.003882, allocations: 23.91 kB / 0.5579 GB, free: 13.5 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.483e-05/0.003936, allocations: 23.97 kB / 0.5579 GB, free: 13.48 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.404e-05/0.00395, allocations: 8 kB / 0.5579 GB, free: 13.47 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002917/0.004242, allocations: 211.6 kB / 0.5581 GB, free: 13.26 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 4.787e-05/0.00429, allocations: 15.94 kB / 0.5581 GB, free: 13.25 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.059e-05/0.004321, allocations: 15.92 kB / 0.5582 GB, free: 13.23 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002719/0.004593, allocations: 235.3 kB / 0.5584 GB, free: 13 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.004597, allocations: 4 kB / 0.5584 GB, free: 13 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.004599, allocations: 0 / 0.5584 GB, free: 13 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.004603, allocations: 0 / 0.5584 GB, free: 13 MB / 490.7 MB 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.0004557/0.005059, allocations: 463.5 kB / 0.5588 GB, free: 12.5 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.09e-05/0.00511, allocations: 17.92 kB / 0.5589 GB, free: 12.48 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.865e-05/0.005149, allocations: 8.891 kB / 0.5589 GB, free: 12.47 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001125/0.005261, allocations: 120.5 kB / 0.559 GB, free: 12.33 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/0.005276, allocations: 4.375 kB / 0.559 GB, free: 12.32 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.064e-05/0.005287, allocations: 384 / 0.559 GB, free: 12.32 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001432/0.00543, allocations: 99.92 kB / 0.5591 GB, free: 12.21 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.005438, allocations: 192 / 0.5591 GB, free: 12.21 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-06/0.005447, allocations: 384 / 0.5591 GB, free: 12.21 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.688e-06/0.005457, allocations: 3.938 kB / 0.5591 GB, free: 12.21 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.965e-05/0.005506, allocations: 65.61 kB / 0.5591 GB, free: 12.14 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001458/0.005652, allocations: 113.2 kB / 0.5593 GB, free: 12 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.027e-05/0.005732, allocations: 84.73 kB / 0.5593 GB, free: 11.9 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.946e-05/0.005782, allocations: 73.44 kB / 0.5594 GB, free: 11.82 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.379e-06/0.005786, allocations: 0 / 0.5594 GB, free: 11.82 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.129e-05/0.005817, allocations: 41.39 kB / 0.5594 GB, free: 11.77 MB / 490.7 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.005818, allocations: 0 / 0.5594 GB, free: 11.77 MB / 490.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002476/0.006066, allocations: 230.6 kB / 0.5597 GB, free: 11.52 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.306e-05/0.006099, allocations: 77.11 kB / 0.5597 GB, free: 11.43 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/0.006204, allocations: 205.8 kB / 0.5599 GB, free: 11.21 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.156e-05/0.006215, allocations: 25.7 kB / 0.56 GB, free: 11.18 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.459e-05/0.00626, allocations: 138.9 kB / 0.5601 GB, free: 11.04 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.053e-05/0.006281, allocations: 19.83 kB / 0.5601 GB, free: 11.02 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.109e-05/0.006322, allocations: 35.36 kB / 0.5601 GB, free: 10.97 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.006439, allocations: 0.4884 MB / 0.5606 GB, free: 10.47 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.772e-05/0.006516, allocations: 107.4 kB / 0.5607 GB, free: 10.36 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.562e-05/0.006582, allocations: 111.3 kB / 0.5608 GB, free: 10.23 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001431/0.006725, allocations: 192 kB / 0.561 GB, free: 10.03 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.006727, allocations: 0 / 0.561 GB, free: 10.03 MB / 490.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002087/0.006936, allocations: 272.3 kB / 0.5613 GB, free: 9.73 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.134e-05/0.006987, allocations: 67.39 kB / 0.5613 GB, free: 9.652 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.006995, allocations: 4 kB / 0.5613 GB, free: 9.648 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.007009, allocations: 0 / 0.5613 GB, free: 9.648 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.042e-06/0.007011, allocations: 0 / 0.5613 GB, free: 9.648 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.007015, allocations: 64 / 0.5613 GB, free: 9.648 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.027e-05/0.007105, allocations: 19.88 kB / 0.5614 GB, free: 9.629 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.909e-06/0.007115, allocations: 4 kB / 0.5614 GB, free: 9.625 MB / 490.7 MB 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.476e-05/0.00721, allocations: 186.3 kB / 0.5615 GB, free: 9.426 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.55e-05/0.007225, allocations: 12.14 kB / 0.5615 GB, free: 9.414 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.231e-05/0.007247, allocations: 12.31 kB / 0.5616 GB, free: 9.402 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.007249, allocations: 0 / 0.5616 GB, free: 9.402 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.007252, allocations: 0 / 0.5616 GB, free: 9.402 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.007256, allocations: 3.938 kB / 0.5616 GB, free: 9.398 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.447e-05/0.007341, allocations: 113.2 kB / 0.5617 GB, free: 9.262 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.007344, allocations: 4 kB / 0.5617 GB, free: 9.258 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.007344, allocations: 4 kB / 0.5617 GB, free: 9.254 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.007346, allocations: 0 / 0.5617 GB, free: 9.254 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.716e-06/0.007355, allocations: 4 kB / 0.5617 GB, free: 9.25 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.007356, allocations: 4 kB / 0.5617 GB, free: 9.246 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.007359, allocations: 3.984 kB / 0.5617 GB, free: 9.242 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001897/0.007548, allocations: 215.6 kB / 0.5619 GB, free: 8.996 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.128e-05/0.00756, allocations: 7.938 kB / 0.5619 GB, free: 8.988 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.079e-05/0.00757, allocations: 4 kB / 0.5619 GB, free: 8.984 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.143e-05/0.007602, allocations: 0 / 0.5619 GB, free: 8.984 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.54e-05/0.007647, allocations: 11.98 kB / 0.5619 GB, free: 8.973 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.007652, allocations: 8.031 kB / 0.5619 GB, free: 8.965 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.899e-05/0.007701, allocations: 137.8 kB / 0.5621 GB, free: 8.832 MB / 490.7 MB Notification: Performance of sort global known variables: time 4e-08/0.007701, allocations: 0 / 0.5621 GB, free: 8.832 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002203/0.007921, allocations: 67.94 kB / 0.5621 GB, free: 8.766 MB / 490.7 MB 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.0001902/0.008112, allocations: 163 kB / 0.5623 GB, free: 8.598 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002154/0.008327, allocations: 327.4 kB / 0.5626 GB, free: 8.23 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.008329, allocations: 0 / 0.5626 GB, free: 8.23 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 7.836e-05/0.008408, allocations: 132.8 kB / 0.5627 GB, free: 8.078 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001107/0.008518, allocations: 4.125 kB / 0.5627 GB, free: 8.074 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002408/0.008759, allocations: 219 kB / 0.5629 GB, free: 7.828 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.089e-05/0.00879, allocations: 63.33 kB / 0.563 GB, free: 7.746 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 5.771e-06/0.008796, allocations: 0 / 0.563 GB, free: 7.746 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.777e-05/0.008864, allocations: 82.2 kB / 0.5631 GB, free: 7.664 MB / 490.7 MB Notification: Performance of SimCode: time 1.273e-06/0.008865, allocations: 0 / 0.5631 GB, free: 7.664 MB / 490.7 MB Notification: Performance of Templates: time 0.003988/0.01285, allocations: 2.419 MB / 0.5654 GB, free: 5.258 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.698764483910054]