Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.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.001062/0.001062, allocations: 92.22 kB / 19.65 MB, free: 280 kB / 13.93 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.001163/0.001163, allocations: 165 kB / 23.01 MB, free: 1.555 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.9865/0.9865, allocations: 177.1 MB / 203.4 MB, free: 5.191 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.00171/0.00171, allocations: 235 kB / 260.2 MB, free: 12.7 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.805/0.805, allocations: 138.4 MB / 455.2 MB, free: 29.79 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.QuinticHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 0.5551 GB, free: 72 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.228e-05/3.375e-05, allocations: 9.969 kB / 0.5552 GB, free: 64 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001303/0.001336, allocations: 0.6477 MB / 0.5558 GB, free: 15.41 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.000329/0.001665, allocations: 187 kB / 0.556 GB, free: 15.23 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.069e-05/0.001696, allocations: 4 kB / 0.556 GB, free: 15.22 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.018e-05/0.001716, allocations: 4 kB / 0.556 GB, free: 15.22 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001609/0.001877, allocations: 3.938 kB / 0.556 GB, free: 15.21 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002018/0.002079, allocations: 71.75 kB / 0.556 GB, free: 15.14 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.405e-05/0.002143, allocations: 39.83 kB / 0.5561 GB, free: 15.11 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.572e-05/0.002189, allocations: 11.94 kB / 0.5561 GB, free: 15.09 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.489e-05/0.002233, allocations: 11.98 kB / 0.5561 GB, free: 15.08 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.865e-05/0.002292, allocations: 15.92 kB / 0.5561 GB, free: 15.07 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.708e-05/0.002309, allocations: 4 kB / 0.5561 GB, free: 15.06 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001004/0.00241, allocations: 51.88 kB / 0.5562 GB, free: 15.01 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.559e-05/0.002425, allocations: 7.984 kB / 0.5562 GB, free: 15 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.205e-05/0.002447, allocations: 15.92 kB / 0.5562 GB, free: 14.99 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001416/0.002589, allocations: 87.78 kB / 0.5563 GB, free: 14.9 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.002591, allocations: 0 / 0.5563 GB, free: 14.9 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.002592, allocations: 0 / 0.5563 GB, free: 14.9 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.002597, allocations: 0 / 0.5563 GB, free: 14.9 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000476/0.003073, allocations: 388.4 kB / 0.5567 GB, free: 14.48 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.003113, allocations: 17.88 kB / 0.5567 GB, free: 14.47 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.527e-05/0.003149, allocations: 4.891 kB / 0.5567 GB, free: 14.46 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.435e-05/0.003243, allocations: 124.6 kB / 0.5568 GB, free: 14.32 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.003253, allocations: 4.375 kB / 0.5568 GB, free: 14.31 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.495e-05/0.003278, allocations: 4.375 kB / 0.5568 GB, free: 14.31 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001081/0.003386, allocations: 62.88 kB / 0.5569 GB, free: 14.24 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.003396, allocations: 4.188 kB / 0.5569 GB, free: 14.23 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.003406, allocations: 384 / 0.5569 GB, free: 14.23 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.003414, allocations: 384 / 0.5569 GB, free: 14.23 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.828e-05/0.003453, allocations: 19.92 kB / 0.5569 GB, free: 14.21 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002281/0.003681, allocations: 243.8 kB / 0.5571 GB, free: 13.94 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.291e-05/0.003754, allocations: 43.12 kB / 0.5572 GB, free: 13.89 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.818e-05/0.003782, allocations: 27.7 kB / 0.5572 GB, free: 13.86 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.003801, allocations: 4 kB / 0.5572 GB, free: 13.85 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.977e-05/0.00382, allocations: 33.39 kB / 0.5572 GB, free: 13.81 MB / 490.7 MB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.003821, allocations: 0 / 0.5572 GB, free: 13.81 MB / 490.7 MB Notification: Performance of matching and sorting (n=8): time 0.01242/0.01624, allocations: 1.484 MB / 0.5587 GB, free: 12.32 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.431e-05/0.01627, allocations: 55.41 kB / 0.5587 GB, free: 12.25 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001058/0.01638, allocations: 173.9 kB / 0.5589 GB, free: 12.06 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.195e-05/0.01642, allocations: 33.7 kB / 0.5589 GB, free: 12.02 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.183e-05/0.01648, allocations: 138.8 kB / 0.5591 GB, free: 11.88 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.386e-05/0.01653, allocations: 27.73 kB / 0.5591 GB, free: 11.86 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001241/0.01665, allocations: 27.38 kB / 0.5591 GB, free: 11.82 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.01678, allocations: 0.4884 MB / 0.5596 GB, free: 11.32 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002498/0.01703, allocations: 107.9 kB / 0.5597 GB, free: 11.21 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002355/0.01726, allocations: 104 kB / 0.5598 GB, free: 11.11 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004923/0.01775, allocations: 216.2 kB / 0.56 GB, free: 10.9 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.624e-06/0.01776, allocations: 0 / 0.56 GB, free: 10.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0006558/0.01841, allocations: 273.5 kB / 0.5603 GB, free: 10.62 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.01843, allocations: 8 kB / 0.5603 GB, free: 10.62 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.01844, allocations: 4 kB / 0.5603 GB, free: 10.61 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/0.01846, allocations: 0 / 0.5603 GB, free: 10.61 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000705/0.01916, allocations: 55.94 kB / 0.5603 GB, free: 10.56 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.01917, allocations: 0 / 0.5603 GB, free: 10.56 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005533/0.01972, allocations: 39.95 kB / 0.5604 GB, free: 10.52 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.528e-05/0.01976, allocations: 4 kB / 0.5604 GB, free: 10.52 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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.0001322/0.01989, allocations: 164.5 kB / 0.5605 GB, free: 10.34 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.69e-05/0.01997, allocations: 11.89 kB / 0.5605 GB, free: 10.33 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.63e-05/0.02005, allocations: 24.42 kB / 0.5606 GB, free: 10.31 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.02006, allocations: 0 / 0.5606 GB, free: 10.31 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.02006, allocations: 4 kB / 0.5606 GB, free: 10.31 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.02006, allocations: 0 / 0.5606 GB, free: 10.31 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002655/0.02272, allocations: 0.647 MB / 0.5612 GB, free: 9.609 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.02272, allocations: 0 / 0.5612 GB, free: 9.609 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004799/0.0232, allocations: 47.95 kB / 0.5612 GB, free: 9.562 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.0232, allocations: 3.938 kB / 0.5612 GB, free: 9.559 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.263e-05/0.02324, allocations: 11.98 kB / 0.5612 GB, free: 9.547 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.02324, allocations: 0 / 0.5612 GB, free: 9.547 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.02324, allocations: 4.062 kB / 0.5613 GB, free: 9.543 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005026/0.02374, allocations: 283.2 kB / 0.5615 GB, free: 9.238 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.867e-05/0.02376, allocations: 0 / 0.5615 GB, free: 9.238 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.305e-05/0.02381, allocations: 7.984 kB / 0.5615 GB, free: 9.23 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004198/0.02423, allocations: 35.97 kB / 0.5616 GB, free: 9.195 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.119e-05/0.02425, allocations: 7.922 kB / 0.5616 GB, free: 9.188 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.432e-05/0.02427, allocations: 4 kB / 0.5616 GB, free: 9.184 MB / 490.7 MB Notification: Performance of sorting global known variables: time 5.865e-05/0.02433, allocations: 139.2 kB / 0.5617 GB, free: 9.047 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02433, allocations: 0 / 0.5617 GB, free: 9.047 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002795/0.02461, allocations: 91.88 kB / 0.5618 GB, free: 8.957 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * 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.0002156/0.02482, allocations: 127.1 kB / 0.5619 GB, free: 8.82 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0005093/0.02533, allocations: 175.6 kB / 0.5621 GB, free: 8.645 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.02534, allocations: 0 / 0.5621 GB, free: 8.645 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001863/0.02552, allocations: 59.59 kB / 0.5621 GB, free: 8.582 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002328/0.02576, allocations: 8 kB / 0.5622 GB, free: 8.574 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001277/0.02703, allocations: 259.9 kB / 0.5624 GB, free: 8.285 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.591e-05/0.02708, allocations: 59.47 kB / 0.5625 GB, free: 8.207 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0002432/0.02732, allocations: 52 kB / 0.5625 GB, free: 8.156 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003376/0.02766, allocations: 24.48 kB / 0.5625 GB, free: 8.133 MB / 490.7 MB Notification: Performance of SimCode: time 8.41e-07/0.02766, allocations: 3.938 kB / 0.5625 GB, free: 8.129 MB / 490.7 MB Notification: Performance of Templates: time 0.01003/0.03769, allocations: 9.889 MB / 0.5722 GB, free: 14.23 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.186245948076248]