Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.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.001815/0.001815, allocations: 85.48 kB / 19.44 MB, free: 344 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.001951/0.001951, allocations: 173.6 kB / 22.76 MB, free: 1.664 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 1.571/1.571, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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.003368/0.003368, allocations: 241.7 kB / 259.8 MB, free: 12.84 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 1.208/1.208, allocations: 138.4 MB / 454.7 MB, free: 1.508 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.SmoothInterpolation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.5544 GB, free: 0.832 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.659e-05/2.812e-05, allocations: 2.312 kB / 0.5544 GB, free: 0.8281 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.002042/0.00207, allocations: 0.6229 MB / 0.555 GB, free: 212 kB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.002561/0.004631, allocations: 1.463 MB / 0.5564 GB, free: 14.73 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.616e-05/0.004657, allocations: 0 / 0.5564 GB, free: 14.73 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 5.994e-05/0.004717, allocations: 4 kB / 0.5564 GB, free: 14.72 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 3.473e-05/0.004752, allocations: 3.938 kB / 0.5564 GB, free: 14.72 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007572/0.005509, allocations: 207.5 kB / 0.5566 GB, free: 14.52 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 8.813e-05/0.005597, allocations: 35.97 kB / 0.5567 GB, free: 14.48 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.13e-05/0.005629, allocations: 3.984 kB / 0.5567 GB, free: 14.48 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.58e-05/0.005684, allocations: 23.91 kB / 0.5567 GB, free: 14.45 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.042e-05/0.005735, allocations: 23.98 kB / 0.5567 GB, free: 14.43 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.521e-05/0.00575, allocations: 0 / 0.5567 GB, free: 14.43 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005115/0.006262, allocations: 271.4 kB / 0.557 GB, free: 14.16 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.636e-05/0.006298, allocations: 8 kB / 0.557 GB, free: 14.16 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.859e-05/0.006326, allocations: 4 kB / 0.557 GB, free: 14.15 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004188/0.006745, allocations: 267.4 kB / 0.5572 GB, free: 13.89 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.394e-06/0.006748, allocations: 0 / 0.5572 GB, free: 13.89 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.006748, allocations: 0 / 0.5572 GB, free: 13.89 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.578e-06/0.006753, allocations: 4 kB / 0.5572 GB, free: 13.89 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005205/0.007273, allocations: 433.5 kB / 0.5576 GB, free: 13.42 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.007307, allocations: 12.75 kB / 0.5577 GB, free: 13.41 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.266e-05/0.00736, allocations: 8.891 kB / 0.5577 GB, free: 13.4 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001298/0.007489, allocations: 116.5 kB / 0.5578 GB, free: 13.26 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.007503, allocations: 4.375 kB / 0.5578 GB, free: 13.26 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.036e-05/0.007513, allocations: 384 / 0.5578 GB, free: 13.26 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001603/0.007674, allocations: 83.94 kB / 0.5579 GB, free: 13.16 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.007685, allocations: 4.172 kB / 0.5579 GB, free: 13.16 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.438e-06/0.007694, allocations: 4.375 kB / 0.5579 GB, free: 13.16 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.007701, allocations: 3.938 kB / 0.5579 GB, free: 13.15 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.568e-05/0.007796, allocations: 53.62 kB / 0.5579 GB, free: 13.09 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001774/0.007974, allocations: 120.6 kB / 0.558 GB, free: 12.94 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001347/0.008109, allocations: 88.81 kB / 0.5581 GB, free: 12.84 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.032e-05/0.008189, allocations: 57.48 kB / 0.5582 GB, free: 12.77 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.187e-05/0.008201, allocations: 4 kB / 0.5582 GB, free: 12.77 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.864e-05/0.008239, allocations: 33.39 kB / 0.5582 GB, free: 12.72 MB / 490.7 MB Notification: Performance of pre-optimization done (n=7): time 9.12e-07/0.00824, allocations: 0 / 0.5582 GB, free: 12.72 MB / 490.7 MB Notification: Performance of matching and sorting (n=7): time 0.00041/0.00865, allocations: 210.7 kB / 0.5584 GB, free: 12.49 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.744e-05/0.008718, allocations: 81.05 kB / 0.5585 GB, free: 12.39 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001569/0.008875, allocations: 170.4 kB / 0.5587 GB, free: 12.21 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.066e-05/0.008895, allocations: 25.7 kB / 0.5587 GB, free: 12.18 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.487e-05/0.00898, allocations: 134.9 kB / 0.5588 GB, free: 12.04 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.527e-05/0.009025, allocations: 35.77 kB / 0.5588 GB, free: 12.01 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.535e-05/0.009081, allocations: 23.38 kB / 0.5589 GB, free: 11.98 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000352/0.009433, allocations: 0.4884 MB / 0.5593 GB, free: 11.48 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.637e-05/0.009509, allocations: 49.69 kB / 0.5594 GB, free: 11.42 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.658e-05/0.009576, allocations: 49.77 kB / 0.5594 GB, free: 11.37 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000149/0.009725, allocations: 119.1 kB / 0.5596 GB, free: 11.23 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.009726, allocations: 0 / 0.5596 GB, free: 11.23 MB / 490.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002331/0.00996, allocations: 157 kB / 0.5597 GB, free: 11.06 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.629e-05/0.01001, allocations: 37.69 kB / 0.5597 GB, free: 11.02 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.01001, allocations: 3.984 kB / 0.5597 GB, free: 11.02 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.01003, allocations: 0 / 0.5597 GB, free: 11.02 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.22e-07/0.01003, allocations: 4.062 kB / 0.5597 GB, free: 11.01 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.802e-06/0.01003, allocations: 3.938 kB / 0.5597 GB, free: 11.01 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.813e-05/0.0101, allocations: 7.984 kB / 0.5598 GB, free: 11 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.17e-05/0.01012, allocations: 8 kB / 0.5598 GB, free: 10.99 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 (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 prepare postOptimizeDAE: time 0.0001565/0.01028, allocations: 194.3 kB / 0.5599 GB, free: 10.79 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.341e-05/0.0103, allocations: 11.95 kB / 0.56 GB, free: 10.77 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.847e-06/0.01031, allocations: 8.375 kB / 0.56 GB, free: 10.77 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.01031, allocations: 0 / 0.56 GB, free: 10.77 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.01032, allocations: 3.938 kB / 0.56 GB, free: 10.77 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.01032, allocations: 0 / 0.56 GB, free: 10.77 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001305/0.01045, allocations: 132.6 kB / 0.5601 GB, free: 10.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.01045, allocations: 0 / 0.5601 GB, free: 10.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.4e-07/0.01045, allocations: 0 / 0.5601 GB, free: 10.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.01046, allocations: 4 kB / 0.5601 GB, free: 10.6 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-06/0.01046, allocations: 0 / 0.5601 GB, free: 10.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.031e-06/0.01047, allocations: 0 / 0.5601 GB, free: 10.6 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.01047, allocations: 4 kB / 0.5601 GB, free: 10.59 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003116/0.01078, allocations: 223.6 kB / 0.5603 GB, free: 10.34 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.287e-06/0.01079, allocations: 3.953 kB / 0.5603 GB, free: 10.34 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.792e-05/0.01081, allocations: 4 kB / 0.5603 GB, free: 10.33 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.497e-05/0.01084, allocations: 4 kB / 0.5603 GB, free: 10.33 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.945e-05/0.01087, allocations: 16.02 kB / 0.5603 GB, free: 10.31 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.529e-05/0.01089, allocations: 7.938 kB / 0.5604 GB, free: 10.3 MB / 490.7 MB Notification: Performance of sorting global known variables: time 7.56e-05/0.01096, allocations: 123.2 kB / 0.5605 GB, free: 10.18 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01096, allocations: 0 / 0.5605 GB, free: 10.18 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003115/0.01127, allocations: 79.86 kB / 0.5605 GB, free: 10.11 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: 0 () * Number of discrete states: 0 () * 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.0003414/0.01161, allocations: 171.1 kB / 0.5607 GB, free: 9.926 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004163/0.01203, allocations: 198.4 kB / 0.5609 GB, free: 9.703 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.01203, allocations: 3.938 kB / 0.5609 GB, free: 9.699 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001541/0.01219, allocations: 144.8 kB / 0.561 GB, free: 9.535 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001498/0.01234, allocations: 8 kB / 0.561 GB, free: 9.527 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000357/0.01269, allocations: 186.4 kB / 0.5612 GB, free: 9.312 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.597e-05/0.01277, allocations: 71.28 kB / 0.5613 GB, free: 9.223 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 5.2e-06/0.01277, allocations: 0 / 0.5613 GB, free: 9.223 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.374e-05/0.01279, allocations: 8.5 kB / 0.5613 GB, free: 9.215 MB / 490.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01279, allocations: 4 kB / 0.5613 GB, free: 9.211 MB / 490.7 MB Notification: Performance of Templates: time 0.005769/0.01856, allocations: 2.143 MB / 0.5634 GB, free: 7.09 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.88308706600219]