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.0008675/0.0008675, allocations: 92.22 kB / 19.65 MB, free: 276 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.0009763/0.0009763, allocations: 173 kB / 23.03 MB, free: 1.543 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.9455/0.9455, allocations: 177.1 MB / 203.4 MB, free: 5.625 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.00159/0.00159, allocations: 229.6 kB / 260.2 MB, free: 12.82 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.7217/0.7217, allocations: 138.4 MB / 455.2 MB, free: 29.97 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.783e-06/1.783e-06, allocations: 0 / 0.5552 GB, free: 68 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.846e-05/2.024e-05, allocations: 4.5 kB / 0.5552 GB, free: 64 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite): time 0.004411/0.004432, allocations: 0.6474 MB / 0.5558 GB, free: 15.41 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003923/0.004824, allocations: 191 kB / 0.556 GB, free: 15.23 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.39e-05/0.004858, allocations: 0 / 0.556 GB, free: 15.23 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.228e-05/0.00488, allocations: 0 / 0.556 GB, free: 15.23 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001711/0.005051, allocations: 3.938 kB / 0.556 GB, free: 15.22 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002138/0.005265, allocations: 75.69 kB / 0.5561 GB, free: 15.15 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.225e-05/0.005337, allocations: 35.91 kB / 0.5561 GB, free: 15.11 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.175e-05/0.005379, allocations: 8 kB / 0.5561 GB, free: 15.11 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.392e-05/0.005433, allocations: 23.84 kB / 0.5561 GB, free: 15.08 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.893e-05/0.005492, allocations: 11.98 kB / 0.5561 GB, free: 15.07 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.686e-05/0.005509, allocations: 4 kB / 0.5561 GB, free: 15.07 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001131/0.005622, allocations: 51.88 kB / 0.5562 GB, free: 15.02 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.617e-05/0.005638, allocations: 0 / 0.5562 GB, free: 15.02 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.476e-05/0.005663, allocations: 19.91 kB / 0.5562 GB, free: 15 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001611/0.005824, allocations: 91.72 kB / 0.5563 GB, free: 14.91 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.005826, allocations: 0 / 0.5563 GB, free: 14.91 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.92e-07/0.005827, allocations: 0 / 0.5563 GB, free: 14.91 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.005831, allocations: 4 kB / 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.0004721/0.006303, allocations: 388.4 kB / 0.5567 GB, free: 14.48 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.006344, allocations: 13.94 kB / 0.5567 GB, free: 14.47 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.653e-05/0.006391, allocations: 12.89 kB / 0.5567 GB, free: 14.46 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001106/0.006501, allocations: 112.6 kB / 0.5568 GB, free: 14.32 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.006513, allocations: 384 / 0.5568 GB, free: 14.32 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.238e-05/0.006535, allocations: 8.359 kB / 0.5568 GB, free: 14.32 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001331/0.006668, allocations: 66.88 kB / 0.5569 GB, free: 14.24 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.006679, allocations: 192 / 0.5569 GB, free: 14.24 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.00669, allocations: 4.375 kB / 0.5569 GB, free: 14.24 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.006698, allocations: 384 / 0.5569 GB, free: 14.24 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.737e-05/0.006746, allocations: 23.92 kB / 0.5569 GB, free: 14.21 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003392/0.01014, allocations: 243.8 kB / 0.5571 GB, free: 13.94 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.861e-05/0.01024, allocations: 43.11 kB / 0.5572 GB, free: 13.89 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.818e-05/0.01027, allocations: 27.7 kB / 0.5572 GB, free: 13.86 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.464e-05/0.01029, allocations: 0 / 0.5572 GB, free: 13.86 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.234e-05/0.01031, allocations: 33.39 kB / 0.5572 GB, free: 13.81 MB / 490.7 MB Notification: Performance of pre-optimization done (n=4): time 8.11e-07/0.01031, allocations: 0 / 0.5572 GB, free: 13.81 MB / 490.7 MB Notification: Performance of matching and sorting (n=8): time 0.02458/0.03489, allocations: 1.488 MB / 0.5587 GB, free: 12.32 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.086e-05/0.03493, allocations: 55.41 kB / 0.5587 GB, free: 12.25 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001176/0.03505, allocations: 173.9 kB / 0.5589 GB, free: 12.06 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.338e-05/0.03514, allocations: 29.7 kB / 0.5589 GB, free: 12.03 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.382e-05/0.03521, allocations: 138.8 kB / 0.5591 GB, free: 11.89 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.437e-05/0.03528, allocations: 27.73 kB / 0.5591 GB, free: 11.86 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001985/0.03548, allocations: 31.38 kB / 0.5591 GB, free: 11.82 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.03562, allocations: 0.4884 MB / 0.5596 GB, free: 11.32 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003547/0.03598, allocations: 104 kB / 0.5597 GB, free: 11.22 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003355/0.03631, allocations: 108.3 kB / 0.5598 GB, free: 11.11 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007862/0.0371, allocations: 219.8 kB / 0.56 GB, free: 10.89 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.0371, allocations: 3.938 kB / 0.56 GB, free: 10.89 MB / 490.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000964/0.03806, allocations: 265.5 kB / 0.5603 GB, free: 10.62 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.03808, allocations: 8 kB / 0.5603 GB, free: 10.62 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.03809, allocations: 0 / 0.5603 GB, free: 10.62 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.0381, allocations: 0 / 0.5603 GB, free: 10.62 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001115/0.03922, allocations: 55.94 kB / 0.5603 GB, free: 10.56 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.03922, allocations: 0 / 0.5603 GB, free: 10.56 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009244/0.04015, allocations: 43.95 kB / 0.5604 GB, free: 10.52 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.01e-05/0.04021, 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.0001729/0.04038, allocations: 160.5 kB / 0.5605 GB, free: 10.35 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001292/0.04051, allocations: 11.89 kB / 0.5605 GB, free: 10.34 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001166/0.04062, allocations: 24.42 kB / 0.5606 GB, free: 10.32 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.04063, allocations: 0 / 0.5606 GB, free: 10.32 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.04063, allocations: 0 / 0.5606 GB, free: 10.32 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.04064, allocations: 0 / 0.5606 GB, free: 10.32 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004181/0.04482, allocations: 0.651 MB / 0.5612 GB, free: 9.613 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.04482, allocations: 4 kB / 0.5612 GB, free: 9.609 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008102/0.04564, allocations: 47.95 kB / 0.5612 GB, free: 9.562 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.069e-06/0.04564, allocations: 0 / 0.5612 GB, free: 9.562 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.325e-05/0.04569, allocations: 8.406 kB / 0.5613 GB, free: 9.555 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.0457, allocations: 3.938 kB / 0.5613 GB, free: 9.551 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.0457, allocations: 0 / 0.5613 GB, free: 9.551 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007156/0.04641, allocations: 283.2 kB / 0.5615 GB, free: 9.246 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001552/0.04657, allocations: 8 kB / 0.5615 GB, free: 9.238 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.807e-05/0.04664, allocations: 3.984 kB / 0.5615 GB, free: 9.234 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007381/0.04737, allocations: 44.02 kB / 0.5616 GB, free: 9.191 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.041e-05/0.0474, allocations: 7.984 kB / 0.5616 GB, free: 9.184 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.195e-05/0.04744, allocations: 0 / 0.5616 GB, free: 9.184 MB / 490.7 MB Notification: Performance of sorting global known variables: time 6.389e-05/0.0475, allocations: 143.1 kB / 0.5617 GB, free: 9.043 MB / 490.7 MB Notification: Performance of sort global known variables: time 1e-07/0.0475, allocations: 0 / 0.5617 GB, free: 9.043 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0004365/0.04794, allocations: 95.88 kB / 0.5618 GB, free: 8.949 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.0002145/0.04815, allocations: 119.1 kB / 0.5619 GB, free: 8.82 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0007026/0.04885, allocations: 175.5 kB / 0.5621 GB, free: 8.645 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.04886, allocations: 3.938 kB / 0.5621 GB, free: 8.641 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002711/0.04913, allocations: 63.59 kB / 0.5622 GB, free: 8.574 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003318/0.04946, allocations: 8 kB / 0.5622 GB, free: 8.566 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001907/0.05137, allocations: 263.7 kB / 0.5624 GB, free: 8.273 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.362e-05/0.05141, allocations: 55.36 kB / 0.5625 GB, free: 8.199 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0003825/0.05179, allocations: 52.11 kB / 0.5625 GB, free: 8.148 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004759/0.05227, allocations: 24.48 kB / 0.5625 GB, free: 8.125 MB / 490.7 MB Notification: Performance of SimCode: time 7.52e-07/0.05227, allocations: 0 / 0.5625 GB, free: 8.125 MB / 490.7 MB Notification: Performance of Templates: time 0.009822/0.06209, allocations: 10.15 MB / 0.5725 GB, free: 13.96 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.9841911857947707]