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.001424/0.001424, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.001832/0.001832, allocations: 169.4 kB / 24.06 MB, free: 456 kB / 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.9961/0.9961, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.001618/0.001618, allocations: 245.4 kB / 261.3 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.7549/0.7549, allocations: 138.4 MB / 456.3 MB, free: 1.418 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.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.323e-06/1.323e-06, allocations: 0 / 0.5564 GB, free: 164 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.097e-05/2.229e-05, allocations: 6.25 kB / 0.5564 GB, free: 156 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite): time 0.001257/0.001279, allocations: 0.6236 MB / 0.557 GB, free: 15.52 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00154/0.00282, allocations: 1.42 MB / 0.5584 GB, free: 14.09 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.442e-05/0.002854, allocations: 3.938 kB / 0.5584 GB, free: 14.08 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 5.909e-05/0.002913, allocations: 0 / 0.5584 GB, free: 14.08 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.848e-05/0.002972, allocations: 11.92 kB / 0.5584 GB, free: 14.07 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006023/0.003574, allocations: 179.5 kB / 0.5586 GB, free: 13.89 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001031/0.003677, allocations: 51.89 kB / 0.5587 GB, free: 13.84 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.744e-05/0.003715, allocations: 3.984 kB / 0.5587 GB, free: 13.84 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.51e-05/0.00376, allocations: 23.98 kB / 0.5587 GB, free: 13.82 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.242e-05/0.003812, allocations: 23.91 kB / 0.5587 GB, free: 13.79 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.173e-05/0.003824, allocations: 4 kB / 0.5587 GB, free: 13.79 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005763/0.0044, allocations: 211.7 kB / 0.5589 GB, free: 13.58 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 4.059e-05/0.004441, allocations: 11.98 kB / 0.5589 GB, free: 13.57 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.135e-05/0.004472, allocations: 15.94 kB / 0.559 GB, free: 13.55 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002506/0.004723, allocations: 243.2 kB / 0.5592 GB, free: 13.32 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.004725, allocations: 0 / 0.5592 GB, free: 13.32 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.004727, allocations: 0 / 0.5592 GB, free: 13.32 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.609e-06/0.004731, allocations: 0 / 0.5592 GB, free: 13.32 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.0003558/0.005087, allocations: 471.5 kB / 0.5596 GB, free: 12.81 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.005125, allocations: 8.75 kB / 0.5596 GB, free: 12.8 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.906e-05/0.005164, allocations: 8.891 kB / 0.5596 GB, free: 12.8 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.986e-05/0.005254, allocations: 119.5 kB / 0.5598 GB, free: 12.66 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.005265, allocations: 4.375 kB / 0.5598 GB, free: 12.65 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.272e-05/0.005278, allocations: 8.375 kB / 0.5598 GB, free: 12.64 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001137/0.005392, allocations: 95.86 kB / 0.5599 GB, free: 12.54 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.0054, allocations: 192 / 0.5599 GB, free: 12.54 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.304e-06/0.005407, allocations: 384 / 0.5599 GB, free: 12.54 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.005414, allocations: 7.938 kB / 0.5599 GB, free: 12.53 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.046e-05/0.005454, allocations: 57.67 kB / 0.5599 GB, free: 12.47 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001022/0.005556, allocations: 121.2 kB / 0.56 GB, free: 12.32 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.814e-05/0.005634, allocations: 88.73 kB / 0.5601 GB, free: 12.22 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.906e-05/0.005683, allocations: 69.44 kB / 0.5602 GB, free: 12.14 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.749e-06/0.005688, allocations: 4 kB / 0.5602 GB, free: 12.14 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.005712, allocations: 37.33 kB / 0.5602 GB, free: 12.09 MB / 490.7 MB Notification: Performance of pre-optimization done (n=4): time 6.91e-07/0.005713, allocations: 0 / 0.5602 GB, free: 12.09 MB / 490.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002336/0.005946, allocations: 222.7 kB / 0.5604 GB, free: 11.85 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.861e-05/0.005985, allocations: 85.09 kB / 0.5605 GB, free: 11.75 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.823e-05/0.006083, allocations: 197.8 kB / 0.5607 GB, free: 11.54 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.163e-05/0.006095, allocations: 25.7 kB / 0.5607 GB, free: 11.5 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.751e-05/0.006142, allocations: 142.9 kB / 0.5609 GB, free: 11.36 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.421e-05/0.006167, allocations: 23.77 kB / 0.5609 GB, free: 11.34 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.754e-05/0.006204, allocations: 35.36 kB / 0.5609 GB, free: 11.29 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.006326, allocations: 0.4923 MB / 0.5614 GB, free: 10.79 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.321e-05/0.0064, allocations: 103.4 kB / 0.5615 GB, free: 10.68 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.804e-05/0.006458, allocations: 99.38 kB / 0.5616 GB, free: 10.57 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001325/0.00659, allocations: 192.7 kB / 0.5618 GB, free: 10.36 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.006592, allocations: 0 / 0.5618 GB, free: 10.36 MB / 490.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001966/0.006789, allocations: 272.4 kB / 0.5621 GB, free: 10.06 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.443e-05/0.006833, allocations: 71.39 kB / 0.5621 GB, free: 9.977 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.006838, allocations: 64 / 0.5621 GB, free: 9.977 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.907e-06/0.006847, allocations: 4.141 kB / 0.5621 GB, free: 9.973 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.052e-06/0.006848, allocations: 0 / 0.5621 GB, free: 9.973 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.214e-06/0.00685, allocations: 0 / 0.5621 GB, free: 9.973 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.414e-05/0.006924, allocations: 15.88 kB / 0.5621 GB, free: 9.957 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.073e-05/0.006935, allocations: 4 kB / 0.5621 GB, free: 9.953 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 8.669e-05/0.007022, allocations: 198.3 kB / 0.5623 GB, free: 9.742 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.588e-05/0.007038, allocations: 15.89 kB / 0.5623 GB, free: 9.727 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.18e-05/0.007049, allocations: 4.344 kB / 0.5624 GB, free: 9.723 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-06/0.007052, allocations: 0 / 0.5624 GB, free: 9.723 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.007054, allocations: 0 / 0.5624 GB, free: 9.723 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.007059, allocations: 11.92 kB / 0.5624 GB, free: 9.711 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.809e-05/0.007127, allocations: 113.2 kB / 0.5625 GB, free: 9.574 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.007128, allocations: 0 / 0.5625 GB, free: 9.574 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.593e-06/0.00713, allocations: 4 kB / 0.5625 GB, free: 9.57 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.007131, allocations: 0 / 0.5625 GB, free: 9.57 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.007138, allocations: 4 kB / 0.5625 GB, free: 9.566 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-07/0.007139, allocations: 0 / 0.5625 GB, free: 9.566 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.00714, allocations: 0 / 0.5625 GB, free: 9.566 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001672/0.007307, allocations: 211.7 kB / 0.5627 GB, free: 9.324 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.287e-06/0.007316, allocations: 11.88 kB / 0.5627 GB, free: 9.312 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.303e-05/0.007329, allocations: 4 kB / 0.5627 GB, free: 9.309 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.027e-05/0.00736, allocations: 4.031 kB / 0.5627 GB, free: 9.305 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.502e-05/0.007405, allocations: 8 kB / 0.5627 GB, free: 9.297 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-06/0.00741, allocations: 4 kB / 0.5627 GB, free: 9.293 MB / 490.7 MB Notification: Performance of sorting global known variables: time 5.577e-05/0.007466, allocations: 153.8 kB / 0.5629 GB, free: 9.145 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007466, allocations: 0 / 0.5629 GB, free: 9.145 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002443/0.00771, allocations: 67.88 kB / 0.5629 GB, free: 9.078 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.0002066/0.007917, allocations: 159.1 kB / 0.5631 GB, free: 8.914 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002448/0.008161, allocations: 323.4 kB / 0.5634 GB, free: 8.551 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.008163, allocations: 4.062 kB / 0.5634 GB, free: 8.547 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 8.822e-05/0.008252, allocations: 136.8 kB / 0.5635 GB, free: 8.391 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001136/0.008365, allocations: 6.578 kB / 0.5635 GB, free: 8.387 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002483/0.008614, allocations: 215 kB / 0.5637 GB, free: 8.145 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.215e-05/0.008646, allocations: 59.34 kB / 0.5638 GB, free: 8.066 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 5.851e-06/0.008652, allocations: 3.984 kB / 0.5638 GB, free: 8.062 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.536e-05/0.008727, allocations: 90.2 kB / 0.5639 GB, free: 7.973 MB / 490.7 MB Notification: Performance of SimCode: time 6.42e-07/0.008728, allocations: 3.938 kB / 0.5639 GB, free: 7.969 MB / 490.7 MB Notification: Performance of Templates: time 0.004368/0.0131, allocations: 2.454 MB / 0.5663 GB, free: 5.531 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.7602546019479632]