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.0009695/0.0009695, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001275/0.001275, allocations: 173.3 kB / 23.5 MB, free: 1.059 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.988/0.988, allocations: 177.1 MB / 203.8 MB, free: 5.641 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.001861/0.001861, allocations: 229.2 kB / 260.5 MB, free: 12.9 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.7311/0.7311, allocations: 138.4 MB / 455.4 MB, free: 1.469 MB / 362.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.493e-06/1.493e-06, allocations: 0 / 0.5551 GB, free: 0.7461 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.298e-05/1.447e-05, allocations: 6.312 kB / 0.5551 GB, free: 0.7383 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001444/0.001459, allocations: 0.6502 MB / 0.5557 GB, free: 92 kB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.00043/0.001889, allocations: 179.2 kB / 0.5559 GB, free: 15.91 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.588e-05/0.001925, allocations: 0 / 0.5559 GB, free: 15.91 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.85e-05/0.001943, allocations: 7.938 kB / 0.5559 GB, free: 15.91 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001551/0.002098, allocations: 11.86 kB / 0.5559 GB, free: 15.89 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001843/0.002283, allocations: 71.75 kB / 0.556 GB, free: 15.82 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.556e-05/0.002338, allocations: 27.92 kB / 0.556 GB, free: 15.8 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.471e-05/0.002373, allocations: 4 kB / 0.556 GB, free: 15.79 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.031e-05/0.002413, allocations: 19.92 kB / 0.556 GB, free: 15.77 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.811e-05/0.002461, allocations: 15.95 kB / 0.5561 GB, free: 15.76 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.276e-05/0.002474, allocations: 4 kB / 0.5561 GB, free: 15.75 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.327e-05/0.002557, allocations: 51.83 kB / 0.5561 GB, free: 15.7 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.577e-05/0.002573, allocations: 7.922 kB / 0.5561 GB, free: 15.7 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.691e-05/0.00259, allocations: 12 kB / 0.5561 GB, free: 15.68 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001207/0.002711, allocations: 99.69 kB / 0.5562 GB, free: 15.59 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.744e-06/0.002712, allocations: 0 / 0.5562 GB, free: 15.59 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.002713, allocations: 0 / 0.5562 GB, free: 15.59 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.955e-06/0.002716, allocations: 0 / 0.5562 GB, free: 15.59 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.0003646/0.003081, allocations: 388.3 kB / 0.5566 GB, free: 15.17 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.003116, allocations: 12.75 kB / 0.5566 GB, free: 15.16 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.36e-05/0.003149, allocations: 8.938 kB / 0.5566 GB, free: 15.15 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.981e-05/0.003239, allocations: 116.6 kB / 0.5567 GB, free: 15.01 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.886e-06/0.003248, allocations: 4.375 kB / 0.5567 GB, free: 15 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.794e-05/0.003266, allocations: 4.375 kB / 0.5567 GB, free: 15 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001019/0.003368, allocations: 62.94 kB / 0.5568 GB, free: 14.93 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.003376, allocations: 192 / 0.5568 GB, free: 14.93 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.055e-06/0.003384, allocations: 384 / 0.5568 GB, free: 14.93 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.00339, allocations: 384 / 0.5568 GB, free: 14.93 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.607e-05/0.003426, allocations: 23.86 kB / 0.5568 GB, free: 14.91 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001975/0.003624, allocations: 243.8 kB / 0.5571 GB, free: 14.63 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.818e-05/0.003692, allocations: 43.11 kB / 0.5571 GB, free: 14.58 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.786e-05/0.00372, allocations: 23.67 kB / 0.5571 GB, free: 14.55 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.35e-05/0.003733, allocations: 7.938 kB / 0.5571 GB, free: 14.54 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.769e-05/0.003751, allocations: 33.48 kB / 0.5572 GB, free: 14.5 MB / 490.7 MB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.003752, allocations: 3.938 kB / 0.5572 GB, free: 14.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=8): time 0.01234/0.01609, allocations: 1.484 MB / 0.5586 GB, free: 13 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.804e-05/0.01612, allocations: 55.41 kB / 0.5587 GB, free: 12.94 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.409e-05/0.0162, allocations: 173.9 kB / 0.5588 GB, free: 12.75 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.378e-05/0.01625, allocations: 33.7 kB / 0.5589 GB, free: 12.71 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.91e-05/0.01629, allocations: 138.9 kB / 0.559 GB, free: 12.57 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.59e-05/0.01634, allocations: 27.73 kB / 0.559 GB, free: 12.54 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001222/0.01646, allocations: 35.36 kB / 0.5591 GB, free: 12.5 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001015/0.01656, allocations: 492.1 kB / 0.5595 GB, free: 12.01 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000245/0.01681, allocations: 108 kB / 0.5596 GB, free: 11.9 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002362/0.01705, allocations: 99.97 kB / 0.5597 GB, free: 11.8 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004914/0.01754, allocations: 228.1 kB / 0.5599 GB, free: 11.58 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.01754, allocations: 0 / 0.5599 GB, free: 11.58 MB / 490.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0006516/0.01819, allocations: 269.5 kB / 0.5602 GB, free: 11.31 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.01821, allocations: 4 kB / 0.5602 GB, free: 11.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.01821, allocations: 4 kB / 0.5602 GB, free: 11.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.01822, allocations: 0 / 0.5602 GB, free: 11.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006763/0.0189, allocations: 55.94 kB / 0.5603 GB, free: 11.25 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.0189, allocations: 0 / 0.5603 GB, free: 11.25 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005512/0.01946, allocations: 39.95 kB / 0.5603 GB, free: 11.21 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.298e-05/0.01949, allocations: 7.984 kB / 0.5603 GB, free: 11.2 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.0001189/0.01961, allocations: 156.6 kB / 0.5605 GB, free: 11.04 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.726e-05/0.01968, allocations: 11.94 kB / 0.5605 GB, free: 11.02 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.577e-05/0.01976, allocations: 16.44 kB / 0.5605 GB, free: 11.01 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.01976, allocations: 0 / 0.5605 GB, free: 11.01 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.01977, allocations: 4 kB / 0.5605 GB, free: 11.01 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.01977, allocations: 11.94 kB / 0.5605 GB, free: 11 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002508/0.02228, allocations: 0.6395 MB / 0.5611 GB, free: 10.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.02228, allocations: 4 kB / 0.5611 GB, free: 10.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004474/0.02273, allocations: 51.94 kB / 0.5612 GB, free: 10.25 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.02273, allocations: 0 / 0.5612 GB, free: 10.25 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.738e-05/0.02276, allocations: 4 kB / 0.5612 GB, free: 10.25 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.02276, allocations: 3.938 kB / 0.5612 GB, free: 10.24 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.02276, allocations: 4.062 kB / 0.5612 GB, free: 10.24 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004844/0.02325, allocations: 295.1 kB / 0.5615 GB, free: 9.922 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.638e-06/0.02326, allocations: 4 kB / 0.5615 GB, free: 9.918 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.565e-05/0.0233, allocations: 0 / 0.5615 GB, free: 9.918 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004138/0.02372, allocations: 39.95 kB / 0.5615 GB, free: 9.879 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.571e-05/0.02373, allocations: 4 kB / 0.5615 GB, free: 9.875 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.79e-05/0.02376, allocations: 3.984 kB / 0.5615 GB, free: 9.871 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.62e-05/0.02381, allocations: 135.2 kB / 0.5616 GB, free: 9.738 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02381, allocations: 0 / 0.5616 GB, free: 9.738 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002647/0.02407, allocations: 99.86 kB / 0.5617 GB, free: 9.641 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.000153/0.02423, allocations: 123.1 kB / 0.5619 GB, free: 9.508 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004884/0.02471, allocations: 167.6 kB / 0.562 GB, free: 9.34 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.02472, allocations: 3.938 kB / 0.562 GB, free: 9.336 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000193/0.02491, allocations: 55.66 kB / 0.5621 GB, free: 9.277 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002006/0.02511, allocations: 15.94 kB / 0.5621 GB, free: 9.262 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001195/0.0263, allocations: 263.9 kB / 0.5623 GB, free: 8.969 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.388e-05/0.02634, allocations: 59.47 kB / 0.5624 GB, free: 8.891 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0002513/0.02659, allocations: 52 kB / 0.5624 GB, free: 8.84 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003823/0.02697, allocations: 20.48 kB / 0.5625 GB, free: 8.82 MB / 490.7 MB Notification: Performance of SimCode: time 6.31e-07/0.02697, allocations: 0 / 0.5625 GB, free: 8.82 MB / 490.7 MB Notification: Performance of Templates: time 0.009234/0.03621, allocations: 9.889 MB / 0.5721 GB, free: 14.88 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: 3.9262178321368992]