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.0009031/0.0009031, allocations: 92.22 kB / 19.65 MB, free: 276 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.0009856/0.0009856, allocations: 173 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 1.018/1.018, allocations: 177.1 MB / 203.4 MB, free: 5.625 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.001721/0.001721, allocations: 234 kB / 260.2 MB, free: 12.81 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.7695/0.7695, allocations: 138.4 MB / 455.2 MB, free: 30.08 MB / 410.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.863e-06/1.863e-06, allocations: 0 / 0.5552 GB, free: 64 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.011e-05/3.197e-05, allocations: 2.312 kB / 0.5552 GB, free: 60 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.002056/0.002088, allocations: 0.6278 MB / 0.5558 GB, free: 15.43 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002263/0.004351, allocations: 1.474 MB / 0.5572 GB, free: 13.94 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.691e-05/0.004388, allocations: 0 / 0.5572 GB, free: 13.94 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 7.672e-05/0.004465, allocations: 3.938 kB / 0.5572 GB, free: 13.93 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.656e-05/0.004511, allocations: 4 kB / 0.5572 GB, free: 13.93 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009272/0.005438, allocations: 219.4 kB / 0.5574 GB, free: 13.71 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001073/0.005546, allocations: 35.92 kB / 0.5575 GB, free: 13.68 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.474e-05/0.00559, allocations: 7.984 kB / 0.5575 GB, free: 13.67 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.238e-05/0.005643, allocations: 15.98 kB / 0.5575 GB, free: 13.66 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6e-05/0.005703, allocations: 19.97 kB / 0.5575 GB, free: 13.64 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.877e-05/0.005722, allocations: 4 kB / 0.5575 GB, free: 13.63 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004954/0.006217, allocations: 267.5 kB / 0.5578 GB, free: 13.37 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 4.612e-05/0.006263, allocations: 8 kB / 0.5578 GB, free: 13.36 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 4.166e-05/0.006305, allocations: 15.92 kB / 0.5578 GB, free: 13.35 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000407/0.006712, allocations: 263.4 kB / 0.558 GB, free: 13.09 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.006717, allocations: 0 / 0.558 GB, free: 13.09 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.006718, allocations: 0 / 0.558 GB, free: 13.09 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.006723, allocations: 4 kB / 0.5581 GB, free: 13.09 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.0004674/0.007191, allocations: 433.9 kB / 0.5585 GB, free: 12.62 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.007238, allocations: 9.938 kB / 0.5585 GB, free: 12.61 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.674e-05/0.007295, allocations: 8.891 kB / 0.5585 GB, free: 12.61 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001076/0.007402, allocations: 116.5 kB / 0.5586 GB, free: 12.46 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.007416, allocations: 384 / 0.5586 GB, free: 12.46 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.345e-05/0.007429, allocations: 4.375 kB / 0.5586 GB, free: 12.46 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001648/0.007594, allocations: 87.92 kB / 0.5587 GB, free: 12.36 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.007603, allocations: 4.125 kB / 0.5587 GB, free: 12.36 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.007616, allocations: 384 / 0.5587 GB, free: 12.36 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.27e-05/0.007629, allocations: 15.92 kB / 0.5587 GB, free: 12.34 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.56e-05/0.007684, allocations: 45.69 kB / 0.5587 GB, free: 12.29 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001409/0.007825, allocations: 120.6 kB / 0.5589 GB, free: 12.14 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.827e-05/0.007923, allocations: 76.75 kB / 0.5589 GB, free: 12.05 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.681e-05/0.00798, allocations: 53.41 kB / 0.559 GB, free: 11.98 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.131e-06/0.007986, allocations: 0 / 0.559 GB, free: 11.98 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.16e-05/0.008018, allocations: 37.39 kB / 0.559 GB, free: 11.94 MB / 490.7 MB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.008019, allocations: 0 / 0.559 GB, free: 11.94 MB / 490.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003185/0.008338, allocations: 202.6 kB / 0.5592 GB, free: 11.71 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.097e-05/0.008389, allocations: 85.05 kB / 0.5593 GB, free: 11.61 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001063/0.008495, allocations: 174.1 kB / 0.5595 GB, free: 11.43 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.626e-05/0.008511, allocations: 29.7 kB / 0.5595 GB, free: 11.39 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.886e-05/0.00856, allocations: 130.9 kB / 0.5596 GB, free: 11.26 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.456e-05/0.008605, allocations: 27.78 kB / 0.5596 GB, free: 11.23 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.891e-05/0.008653, allocations: 23.38 kB / 0.5597 GB, free: 11.2 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.008798, allocations: 0.4923 MB / 0.5601 GB, free: 10.7 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.691e-05/0.008855, allocations: 41.69 kB / 0.5602 GB, free: 10.65 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.894e-05/0.008904, allocations: 49.69 kB / 0.5602 GB, free: 10.59 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001125/0.009017, allocations: 115 kB / 0.5603 GB, free: 10.46 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.009019, allocations: 0 / 0.5603 GB, free: 10.46 MB / 490.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000176/0.009195, allocations: 145.7 kB / 0.5605 GB, free: 10.3 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.893e-05/0.009234, allocations: 41.75 kB / 0.5605 GB, free: 10.26 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.009239, allocations: 0 / 0.5605 GB, free: 10.26 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.009254, allocations: 0 / 0.5605 GB, free: 10.26 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.528e-06/0.009259, allocations: 0 / 0.5605 GB, free: 10.26 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.009267, allocations: 11.86 kB / 0.5605 GB, free: 10.25 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.661e-05/0.009343, allocations: 8 kB / 0.5605 GB, free: 10.24 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.412e-05/0.009367, allocations: 4 kB / 0.5605 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: 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.0001066/0.009474, allocations: 194.3 kB / 0.5607 GB, free: 10.03 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.173e-05/0.009496, allocations: 11.95 kB / 0.5607 GB, free: 10.02 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.257e-05/0.009508, allocations: 4.438 kB / 0.5607 GB, free: 10.02 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.009513, allocations: 7.984 kB / 0.5607 GB, free: 10.01 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.009517, allocations: 3.938 kB / 0.5608 GB, free: 10 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.00952, allocations: 4 kB / 0.5608 GB, free: 10 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.271e-05/0.009613, allocations: 120.6 kB / 0.5609 GB, free: 9.848 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.009615, allocations: 3.938 kB / 0.5609 GB, free: 9.844 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.272e-06/0.009616, allocations: 0 / 0.5609 GB, free: 9.844 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.009618, allocations: 0 / 0.5609 GB, free: 9.844 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.337e-06/0.009627, allocations: 4 kB / 0.5609 GB, free: 9.84 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.00963, allocations: 3.984 kB / 0.5609 GB, free: 9.836 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.009631, allocations: 0 / 0.5609 GB, free: 9.836 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001673/0.009799, allocations: 211.7 kB / 0.5611 GB, free: 9.594 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.552e-06/0.009805, allocations: 7.969 kB / 0.5611 GB, free: 9.586 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.247e-05/0.009818, allocations: 4 kB / 0.5611 GB, free: 9.582 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.872e-05/0.009846, allocations: 4 kB / 0.5611 GB, free: 9.578 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.796e-05/0.009864, allocations: 11.98 kB / 0.5611 GB, free: 9.566 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-06/0.009873, allocations: 7.938 kB / 0.5611 GB, free: 9.559 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.82e-05/0.009912, allocations: 131.2 kB / 0.5612 GB, free: 9.43 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009912, allocations: 0 / 0.5612 GB, free: 9.43 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002126/0.01012, allocations: 71.92 kB / 0.5613 GB, free: 9.359 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.0002432/0.01037, allocations: 175.1 kB / 0.5615 GB, free: 9.176 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001899/0.01056, allocations: 186.4 kB / 0.5617 GB, free: 8.965 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.01056, allocations: 0 / 0.5617 GB, free: 8.965 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 6.261e-05/0.01062, allocations: 128.8 kB / 0.5618 GB, free: 8.816 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001176/0.01074, allocations: 11.98 kB / 0.5618 GB, free: 8.805 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002541/0.01099, allocations: 182.3 kB / 0.562 GB, free: 8.594 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.431e-05/0.01103, allocations: 67.28 kB / 0.562 GB, free: 8.508 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 6.322e-06/0.01103, allocations: 0 / 0.562 GB, free: 8.508 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.22e-05/0.01105, allocations: 8.5 kB / 0.562 GB, free: 8.5 MB / 490.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01105, allocations: 0 / 0.562 GB, free: 8.5 MB / 490.7 MB Notification: Performance of Templates: time 0.004562/0.01561, allocations: 2.409 MB / 0.5644 GB, free: 6.137 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: 3.7438080068677664]