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.0009273/0.0009273, allocations: 93.06 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.0009703/0.0009703, allocations: 173.3 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.9144/0.9144, allocations: 177.1 MB / 203.4 MB, free: 5.578 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.001696/0.001696, allocations: 240.7 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.8072/0.8072, allocations: 138.4 MB / 455.2 MB, free: 1.504 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 2.765e-06/2.765e-06, allocations: 0 / 0.5552 GB, free: 424 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.971e-05/3.247e-05, allocations: 10.19 kB / 0.5552 GB, free: 412 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite): time 0.002224/0.002257, allocations: 0.6235 MB / 0.5558 GB, free: 15.78 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002283/0.00454, allocations: 1.423 MB / 0.5572 GB, free: 14.34 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.608e-05/0.004576, allocations: 0 / 0.5572 GB, free: 14.34 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 7.812e-05/0.004654, allocations: 3.938 kB / 0.5572 GB, free: 14.33 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.568e-05/0.00471, allocations: 7.938 kB / 0.5572 GB, free: 14.32 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009115/0.005621, allocations: 187.5 kB / 0.5574 GB, free: 14.14 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001402/0.005761, allocations: 39.91 kB / 0.5574 GB, free: 14.1 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.223e-05/0.005804, allocations: 7.984 kB / 0.5574 GB, free: 14.09 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.153e-05/0.005875, allocations: 27.97 kB / 0.5574 GB, free: 14.07 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.628e-05/0.005951, allocations: 19.97 kB / 0.5575 GB, free: 14.05 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.883e-05/0.00597, allocations: 4 kB / 0.5575 GB, free: 14.04 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000451/0.006421, allocations: 211.6 kB / 0.5577 GB, free: 13.84 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 5.436e-05/0.006476, allocations: 15.98 kB / 0.5577 GB, free: 13.82 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 4.313e-05/0.006519, allocations: 7.938 kB / 0.5577 GB, free: 13.81 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004661/0.006985, allocations: 247.3 kB / 0.5579 GB, free: 13.57 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.006989, allocations: 0 / 0.5579 GB, free: 13.57 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.00699, allocations: 0 / 0.5579 GB, free: 13.57 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.715e-06/0.006998, allocations: 0 / 0.5579 GB, free: 13.57 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.000555/0.007553, allocations: 467.6 kB / 0.5584 GB, free: 13.07 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/0.007602, allocations: 12.75 kB / 0.5584 GB, free: 13.05 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.578e-05/0.007668, allocations: 8.891 kB / 0.5584 GB, free: 13.05 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001209/0.007789, allocations: 115.4 kB / 0.5585 GB, free: 12.91 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.223e-05/0.007811, allocations: 4.375 kB / 0.5585 GB, free: 12.91 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.911e-05/0.00783, allocations: 4.359 kB / 0.5585 GB, free: 12.9 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002515/0.008082, allocations: 127.9 kB / 0.5586 GB, free: 12.77 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.008091, allocations: 4.125 kB / 0.5586 GB, free: 12.76 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.529e-05/0.008106, allocations: 4.375 kB / 0.5586 GB, free: 12.76 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.732e-05/0.008124, allocations: 3.938 kB / 0.5586 GB, free: 12.75 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001223/0.008246, allocations: 81.66 kB / 0.5587 GB, free: 12.67 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001616/0.008408, allocations: 136.6 kB / 0.5589 GB, free: 12.5 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001433/0.008551, allocations: 108.7 kB / 0.559 GB, free: 12.38 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001039/0.008655, allocations: 97.41 kB / 0.5591 GB, free: 12.27 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.402e-06/0.008661, allocations: 0 / 0.5591 GB, free: 12.27 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.374e-05/0.008695, allocations: 33.39 kB / 0.5591 GB, free: 12.23 MB / 490.7 MB Notification: Performance of pre-optimization done (n=4): time 5.36e-06/0.0087, allocations: 4 kB / 0.5591 GB, free: 12.22 MB / 490.7 MB Notification: Performance of matching and sorting (n=4): time 0.000462/0.009162, allocations: 298.6 kB / 0.5594 GB, free: 11.91 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.655e-05/0.009229, allocations: 85.05 kB / 0.5595 GB, free: 11.8 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001604/0.009389, allocations: 193.9 kB / 0.5596 GB, free: 11.6 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.009407, allocations: 29.7 kB / 0.5597 GB, free: 11.56 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.856e-05/0.009475, allocations: 138.9 kB / 0.5598 GB, free: 11.42 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.792e-05/0.009503, allocations: 19.78 kB / 0.5598 GB, free: 11.4 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.45e-05/0.009568, allocations: 35.36 kB / 0.5599 GB, free: 11.36 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.009719, allocations: 0.4884 MB / 0.5603 GB, free: 10.86 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00015/0.009869, allocations: 139.3 kB / 0.5605 GB, free: 10.71 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000136/0.01, allocations: 139.3 kB / 0.5606 GB, free: 10.56 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002624/0.01027, allocations: 260.7 kB / 0.5608 GB, free: 10.29 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.01027, allocations: 0 / 0.5608 GB, free: 10.29 MB / 490.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003543/0.01062, allocations: 332.3 kB / 0.5612 GB, free: 9.93 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.284e-05/0.01069, allocations: 75.38 kB / 0.5612 GB, free: 9.844 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.01069, allocations: 0 / 0.5612 GB, free: 9.844 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.01071, allocations: 0 / 0.5612 GB, free: 9.844 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.039e-06/0.01072, allocations: 0 / 0.5612 GB, free: 9.844 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.01072, allocations: 3.938 kB / 0.5612 GB, free: 9.84 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001287/0.01085, allocations: 15.95 kB / 0.5613 GB, free: 9.824 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.376e-05/0.01087, allocations: 0 / 0.5613 GB, free: 9.824 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.0001291/0.01099, allocations: 202.3 kB / 0.5614 GB, free: 9.609 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.648e-05/0.01102, allocations: 11.95 kB / 0.5615 GB, free: 9.598 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.883e-05/0.01104, allocations: 4.344 kB / 0.5615 GB, free: 9.594 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.01104, allocations: 0 / 0.5615 GB, free: 9.594 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.01105, allocations: 3.938 kB / 0.5615 GB, free: 9.59 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.01105, allocations: 7.938 kB / 0.5615 GB, free: 9.582 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001037/0.01116, allocations: 128.6 kB / 0.5616 GB, free: 9.422 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.01116, allocations: 4 kB / 0.5616 GB, free: 9.418 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.92e-07/0.01116, allocations: 0 / 0.5616 GB, free: 9.418 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.01116, allocations: 0 / 0.5616 GB, free: 9.418 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.01117, allocations: 0 / 0.5616 GB, free: 9.418 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.01118, allocations: 4 kB / 0.5616 GB, free: 9.414 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.01118, allocations: 4 kB / 0.5616 GB, free: 9.41 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003142/0.01149, allocations: 263.6 kB / 0.5619 GB, free: 9.117 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.454e-05/0.01151, allocations: 7.891 kB / 0.5619 GB, free: 9.109 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.05e-05/0.01153, allocations: 4.141 kB / 0.5619 GB, free: 9.105 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.003e-05/0.01159, allocations: 3.984 kB / 0.5619 GB, free: 9.102 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.892e-05/0.01167, allocations: 19.97 kB / 0.5619 GB, free: 9.082 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-06/0.01168, allocations: 3.938 kB / 0.5619 GB, free: 9.078 MB / 490.7 MB Notification: Performance of sorting global known variables: time 7.679e-05/0.01175, allocations: 150.2 kB / 0.562 GB, free: 8.934 MB / 490.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01175, allocations: 0 / 0.562 GB, free: 8.934 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003755/0.01213, allocations: 63.88 kB / 0.5621 GB, free: 8.871 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.0003277/0.01246, allocations: 171 kB / 0.5623 GB, free: 8.695 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004253/0.01288, allocations: 379.5 kB / 0.5626 GB, free: 8.277 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.716e-06/0.01288, allocations: 0 / 0.5626 GB, free: 8.277 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00014/0.01302, allocations: 156.7 kB / 0.5628 GB, free: 8.102 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001584/0.01318, allocations: 8.109 kB / 0.5628 GB, free: 8.094 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003954/0.01358, allocations: 239 kB / 0.563 GB, free: 7.828 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.077e-05/0.01363, allocations: 67.27 kB / 0.5631 GB, free: 7.742 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 8.866e-06/0.01364, allocations: 8.125 kB / 0.5631 GB, free: 7.734 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.082e-05/0.01366, allocations: 8.5 kB / 0.5631 GB, free: 7.727 MB / 490.7 MB Notification: Performance of SimCode: time 1.182e-06/0.01366, allocations: 0 / 0.5631 GB, free: 7.727 MB / 490.7 MB Notification: Performance of Templates: time 0.006413/0.02007, allocations: 2.398 MB / 0.5654 GB, free: 5.344 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.5489064599387348]