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.001185/0.001185, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.00143/0.00143, allocations: 181 kB / 23.36 MB, free: 1.133 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.8996/0.8996, allocations: 177.1 MB / 203.8 MB, free: 5.48 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.00155/0.00155, allocations: 245 kB / 260.5 MB, free: 12.7 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.6987/0.6987, allocations: 138.4 MB / 402.2 MB, free: 0.5898 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.293e-06/1.293e-06, allocations: 0 / 462.4 MB, free: 0.8281 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.525e-05/2.654e-05, allocations: 5.797 kB / 462.4 MB, free: 0.8242 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite): time 0.001435/0.001462, allocations: 0.6311 MB / 463 MB, free: 492 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001777/0.003239, allocations: 1.436 MB / 464.4 MB, free: 15.51 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.545e-05/0.003275, allocations: 1.156 kB / 464.4 MB, free: 15.51 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 6.409e-05/0.003339, allocations: 1.359 kB / 464.4 MB, free: 15.51 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 4.659e-05/0.003385, allocations: 8.078 kB / 464.5 MB, free: 15.5 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007773/0.004163, allocations: 183.8 kB / 464.6 MB, free: 15.44 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001178/0.00428, allocations: 43.5 kB / 464.7 MB, free: 15.43 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.39e-05/0.004314, allocations: 4.25 kB / 464.7 MB, free: 15.43 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.701e-05/0.004371, allocations: 26.33 kB / 464.7 MB, free: 15.43 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.173e-05/0.004433, allocations: 29.14 kB / 464.7 MB, free: 15.42 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.429e-05/0.004447, allocations: 2.625 kB / 464.7 MB, free: 15.42 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003801/0.004827, allocations: 210 kB / 464.9 MB, free: 15.37 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 4.17e-05/0.004869, allocations: 16.56 kB / 465 MB, free: 15.36 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 3.702e-05/0.004906, allocations: 18.72 kB / 465 MB, free: 15.35 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003322/0.005238, allocations: 225.9 kB / 465.2 MB, free: 15.29 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.005244, allocations: 1.516 kB / 465.2 MB, free: 15.29 MB / 426.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.005244, allocations: 1.156 kB / 465.2 MB, free: 15.29 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.00525, allocations: 0.7812 kB / 465.2 MB, free: 15.29 MB / 426.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.0003783/0.005628, allocations: 339.9 kB / 465.5 MB, free: 14.96 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.264e-05/0.005661, allocations: 16.02 kB / 465.5 MB, free: 14.96 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.155e-05/0.005692, allocations: 5.984 kB / 465.6 MB, free: 14.96 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.721e-05/0.00578, allocations: 125.8 kB / 465.7 MB, free: 14.82 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.005791, allocations: 2.719 kB / 465.7 MB, free: 14.82 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.362e-05/0.005804, allocations: 4.312 kB / 465.7 MB, free: 14.82 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001321/0.005937, allocations: 97.42 kB / 465.8 MB, free: 14.75 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.005947, allocations: 2.969 kB / 465.8 MB, free: 14.75 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.005957, allocations: 2.219 kB / 465.8 MB, free: 14.75 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.265e-06/0.005965, allocations: 6.188 kB / 465.8 MB, free: 14.75 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.507e-05/0.00601, allocations: 57.7 kB / 465.8 MB, free: 14.72 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.449e-05/0.006085, allocations: 62.75 kB / 465.9 MB, free: 14.65 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.643e-05/0.006161, allocations: 85.53 kB / 466 MB, free: 14.58 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.737e-05/0.006209, allocations: 63.45 kB / 466.1 MB, free: 14.54 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.878e-06/0.006213, allocations: 1.344 kB / 466.1 MB, free: 14.54 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.983e-05/0.006232, allocations: 34.3 kB / 466.1 MB, free: 14.5 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.006234, allocations: 0 / 466.1 MB, free: 14.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002065/0.00644, allocations: 217.1 kB / 466.3 MB, free: 14.37 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.383e-05/0.006474, allocations: 82.03 kB / 466.4 MB, free: 14.28 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.957e-05/0.006563, allocations: 138.8 kB / 466.5 MB, free: 14.16 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.115e-05/0.006575, allocations: 27.3 kB / 466.5 MB, free: 14.12 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.125e-05/0.006606, allocations: 89.12 kB / 466.6 MB, free: 14.04 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.384e-05/0.00663, allocations: 18.64 kB / 466.6 MB, free: 14.02 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.865e-05/0.006668, allocations: 28.11 kB / 466.7 MB, free: 14 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.204e-05/0.00675, allocations: 324 kB / 467 MB, free: 13.68 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.862e-05/0.006839, allocations: 110.2 kB / 467.1 MB, free: 13.61 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.353e-05/0.006903, allocations: 100.7 kB / 467.2 MB, free: 13.54 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001297/0.007032, allocations: 186 kB / 467.4 MB, free: 13.35 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.007034, allocations: 0.8125 kB / 467.4 MB, free: 13.35 MB / 426.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001671/0.007201, allocations: 248.4 kB / 467.6 MB, free: 13.08 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.438e-05/0.007255, allocations: 82.12 kB / 467.7 MB, free: 12.99 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.007261, allocations: 0 / 467.7 MB, free: 12.99 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.007274, allocations: 0 / 467.7 MB, free: 12.99 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.889e-06/0.007279, allocations: 0 / 467.7 MB, free: 12.99 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.635e-06/0.007282, allocations: 0 / 467.7 MB, free: 12.99 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.845e-05/0.00736, allocations: 13.17 kB / 467.7 MB, free: 12.98 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.075e-05/0.007371, allocations: 4.75 kB / 467.7 MB, free: 12.97 MB / 426.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.104e-05/0.007452, allocations: 151.4 kB / 467.9 MB, free: 12.81 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.202e-05/0.007464, allocations: 4 kB / 467.9 MB, free: 12.8 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.867e-05/0.007483, allocations: 12.34 kB / 467.9 MB, free: 12.79 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.007485, allocations: 4.547 kB / 467.9 MB, free: 12.79 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.494e-06/0.007487, allocations: 1.266 kB / 467.9 MB, free: 12.79 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.007491, allocations: 1.219 kB / 467.9 MB, free: 12.79 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.011e-05/0.007551, allocations: 73.83 kB / 468 MB, free: 12.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.007555, allocations: 4.484 kB / 468 MB, free: 12.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.92e-07/0.007556, allocations: 0.75 kB / 468 MB, free: 12.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.223e-06/0.007557, allocations: 0 / 468 MB, free: 12.7 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.007564, allocations: 6.656 kB / 468 MB, free: 12.69 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.007565, allocations: 0 / 468 MB, free: 12.69 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.007566, allocations: 0 / 468 MB, free: 12.69 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001351/0.007701, allocations: 199.9 kB / 468.2 MB, free: 12.46 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.785e-06/0.007709, allocations: 3.953 kB / 468.2 MB, free: 12.46 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.247e-05/0.007722, allocations: 4 kB / 468.2 MB, free: 12.46 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.717e-05/0.007749, allocations: 0 / 468.2 MB, free: 12.46 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.46e-05/0.007793, allocations: 8.797 kB / 468.2 MB, free: 12.45 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.243e-06/0.007801, allocations: 8.609 kB / 468.2 MB, free: 12.44 MB / 426.7 MB Notification: Performance of sorting global known variables: time 2.188e-05/0.007823, allocations: 22.55 kB / 468.2 MB, free: 12.42 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007823, allocations: 4.594 kB / 468.2 MB, free: 12.41 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002352/0.008058, allocations: 63.94 kB / 468.3 MB, free: 12.35 MB / 426.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.0002064/0.008264, allocations: 145.2 kB / 468.4 MB, free: 12.2 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002219/0.008486, allocations: 315.2 kB / 468.7 MB, free: 11.85 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.441e-06/0.008492, allocations: 7.938 kB / 468.7 MB, free: 11.84 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.66e-05/0.008568, allocations: 132.7 kB / 468.9 MB, free: 11.69 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.388e-05/0.008642, allocations: 8.938 kB / 468.9 MB, free: 11.68 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002561/0.008898, allocations: 204.3 kB / 469.1 MB, free: 11.45 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.19e-05/0.00893, allocations: 63.34 kB / 469.1 MB, free: 11.37 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.801e-06/0.008936, allocations: 0.6562 kB / 469.1 MB, free: 11.37 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.14e-05/0.009007, allocations: 65.36 kB / 469.2 MB, free: 11.31 MB / 426.7 MB Notification: Performance of SimCode: time 9.61e-07/0.009008, allocations: 0 / 469.2 MB, free: 11.31 MB / 426.7 MB Notification: Performance of Templates: time 0.004116/0.01312, allocations: 2.389 MB / 471.6 MB, free: 9.078 MB / 426.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.578132917173207]