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.001004/0.001004, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001013/0.001013, allocations: 177 kB / 23.49 MB, free: 1.055 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.9579/0.9579, allocations: 177.1 MB / 203.8 MB, free: 5.656 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.001773/0.001773, allocations: 230 kB / 260.5 MB, free: 12.91 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.7573/0.7573, allocations: 138.4 MB / 455.4 MB, free: 1.562 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.413e-06/1.413e-06, allocations: 3.938 kB / 0.5551 GB, free: 0.8164 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.394e-05/2.535e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.8125 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite): time 0.001239/0.001264, allocations: 0.6235 MB / 0.5557 GB, free: 192 kB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.001517/0.002781, allocations: 1.423 MB / 0.5571 GB, free: 14.75 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.484e-05/0.002815, allocations: 4 kB / 0.5571 GB, free: 14.74 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 5.97e-05/0.002875, allocations: 3.938 kB / 0.5571 GB, free: 14.74 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.166e-05/0.002917, allocations: 3.938 kB / 0.5571 GB, free: 14.73 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005689/0.003486, allocations: 183.5 kB / 0.5573 GB, free: 14.55 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 9.856e-05/0.003584, allocations: 47.89 kB / 0.5573 GB, free: 14.51 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.57e-05/0.00362, allocations: 3.984 kB / 0.5573 GB, free: 14.5 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.685e-05/0.003667, allocations: 27.98 kB / 0.5574 GB, free: 14.48 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.621e-05/0.003713, allocations: 19.97 kB / 0.5574 GB, free: 14.46 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.18e-05/0.003725, allocations: 4 kB / 0.5574 GB, free: 14.45 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002692/0.003994, allocations: 211.6 kB / 0.5576 GB, free: 14.25 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 4.343e-05/0.004038, allocations: 15.98 kB / 0.5576 GB, free: 14.23 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.28e-05/0.00407, allocations: 11.94 kB / 0.5576 GB, free: 14.22 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002404/0.004311, allocations: 235.4 kB / 0.5578 GB, free: 13.99 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.004313, allocations: 0 / 0.5578 GB, free: 13.99 MB / 490.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.004314, allocations: 0 / 0.5578 GB, free: 13.99 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.004318, allocations: 0 / 0.5578 GB, free: 13.99 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.0003615/0.004679, allocations: 471.6 kB / 0.5583 GB, free: 13.48 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.004716, allocations: 12.75 kB / 0.5583 GB, free: 13.47 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.537e-05/0.004761, allocations: 8.891 kB / 0.5583 GB, free: 13.46 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000161/0.004922, allocations: 127.2 kB / 0.5584 GB, free: 13.31 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.004934, allocations: 384 / 0.5584 GB, free: 13.31 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.203e-05/0.004946, allocations: 4.375 kB / 0.5584 GB, free: 13.31 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001487/0.005094, allocations: 115.9 kB / 0.5585 GB, free: 13.18 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.041e-06/0.0051, allocations: 4.188 kB / 0.5585 GB, free: 13.18 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.00511, allocations: 384 / 0.5585 GB, free: 13.18 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.005119, allocations: 3.938 kB / 0.5585 GB, free: 13.18 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.298e-05/0.005182, allocations: 81.66 kB / 0.5586 GB, free: 13.09 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001136/0.005295, allocations: 144.6 kB / 0.5588 GB, free: 12.91 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.054e-05/0.005386, allocations: 116.6 kB / 0.5589 GB, free: 12.78 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.511e-05/0.005451, allocations: 93.42 kB / 0.559 GB, free: 12.68 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.969e-06/0.005456, allocations: 3.984 kB / 0.559 GB, free: 12.68 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.193e-05/0.005478, allocations: 37.39 kB / 0.559 GB, free: 12.63 MB / 490.7 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.005479, allocations: 0 / 0.559 GB, free: 12.63 MB / 490.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003066/0.005785, allocations: 290.6 kB / 0.5593 GB, free: 12.32 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.868e-05/0.005824, allocations: 89.05 kB / 0.5594 GB, free: 12.21 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001096/0.005934, allocations: 201.8 kB / 0.5596 GB, free: 12 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.268e-05/0.005946, allocations: 25.7 kB / 0.5596 GB, free: 11.97 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.027e-05/0.005997, allocations: 146.8 kB / 0.5597 GB, free: 11.82 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.199e-05/0.006019, allocations: 15.84 kB / 0.5597 GB, free: 11.8 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.262e-05/0.006061, allocations: 35.36 kB / 0.5598 GB, free: 11.76 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000108/0.006169, allocations: 0.4923 MB / 0.5603 GB, free: 11.26 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001041/0.006273, allocations: 139.4 kB / 0.5604 GB, free: 11.11 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.872e-05/0.006362, allocations: 135.3 kB / 0.5605 GB, free: 10.96 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001799/0.006542, allocations: 252.7 kB / 0.5608 GB, free: 10.7 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.006544, allocations: 0 / 0.5608 GB, free: 10.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002523/0.006796, allocations: 336.3 kB / 0.5611 GB, free: 10.34 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.148e-05/0.006838, allocations: 71.39 kB / 0.5611 GB, free: 10.25 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.006842, allocations: 3.938 kB / 0.5611 GB, free: 10.25 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.006855, allocations: 4.062 kB / 0.5611 GB, free: 10.25 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.52e-07/0.006856, allocations: 0 / 0.5611 GB, free: 10.25 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.006864, allocations: 7.938 kB / 0.5612 GB, free: 10.24 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.63e-05/0.00695, allocations: 7.953 kB / 0.5612 GB, free: 10.23 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.398e-06/0.006959, allocations: 4 kB / 0.5612 GB, free: 10.23 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 0.0001375/0.007097, allocations: 198.3 kB / 0.5614 GB, free: 10.02 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.351e-05/0.00711, allocations: 7.953 kB / 0.5614 GB, free: 10.01 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.385e-05/0.007124, allocations: 8.344 kB / 0.5614 GB, free: 10 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.007126, allocations: 0 / 0.5614 GB, free: 10 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.00713, allocations: 3.938 kB / 0.5614 GB, free: 9.996 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.007133, allocations: 7.984 kB / 0.5614 GB, free: 9.988 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.929e-05/0.007202, allocations: 128.6 kB / 0.5615 GB, free: 9.828 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.007203, allocations: 0 / 0.5615 GB, free: 9.828 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.92e-07/0.007204, allocations: 0 / 0.5615 GB, free: 9.828 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.007205, allocations: 0 / 0.5615 GB, free: 9.828 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.238e-06/0.007215, allocations: 4 kB / 0.5615 GB, free: 9.824 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.11e-07/0.007215, allocations: 0 / 0.5615 GB, free: 9.824 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.007218, allocations: 3.984 kB / 0.5615 GB, free: 9.82 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002085/0.007426, allocations: 263.6 kB / 0.5618 GB, free: 9.527 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.212e-05/0.007438, allocations: 11.89 kB / 0.5618 GB, free: 9.516 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.511e-05/0.007453, allocations: 3.984 kB / 0.5618 GB, free: 9.512 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.378e-05/0.007487, allocations: 8.031 kB / 0.5618 GB, free: 9.504 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.704e-05/0.007544, allocations: 11.98 kB / 0.5618 GB, free: 9.492 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.174e-06/0.007551, allocations: 11.94 kB / 0.5618 GB, free: 9.48 MB / 490.7 MB Notification: Performance of sorting global known variables: time 5.345e-05/0.007605, allocations: 145.7 kB / 0.562 GB, free: 9.34 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007605, allocations: 3.938 kB / 0.562 GB, free: 9.336 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002199/0.007825, allocations: 59.94 kB / 0.562 GB, free: 9.277 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.0002723/0.008097, allocations: 159.1 kB / 0.5622 GB, free: 9.113 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002716/0.008369, allocations: 387.5 kB / 0.5625 GB, free: 8.688 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.00837, allocations: 4.062 kB / 0.5625 GB, free: 8.684 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 9.228e-05/0.008462, allocations: 156.7 kB / 0.5627 GB, free: 8.508 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001188/0.008581, allocations: 7.984 kB / 0.5627 GB, free: 8.5 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002952/0.008876, allocations: 239 kB / 0.5629 GB, free: 8.234 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.523e-05/0.008912, allocations: 67.28 kB / 0.563 GB, free: 8.148 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 5.701e-06/0.008917, allocations: 0 / 0.563 GB, free: 8.148 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.469e-05/0.008932, allocations: 8.5 kB / 0.563 GB, free: 8.141 MB / 490.7 MB Notification: Performance of SimCode: time 8.32e-07/0.008933, allocations: 0 / 0.563 GB, free: 8.141 MB / 490.7 MB Notification: Performance of Templates: time 0.003952/0.01288, allocations: 2.204 MB / 0.5651 GB, free: 5.949 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.5678106050472707]