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.001453/0.001453, allocations: 73.88 kB / 20.66 MB, free: 3.844 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.002096/0.002096, allocations: 169 kB / 24.06 MB, free: 452 kB / 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.025/1.025, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.001593/0.001593, allocations: 234 kB / 261.3 MB, free: 12.66 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.7473/0.7473, allocations: 138.4 MB / 456.3 MB, free: 1.383 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.593e-06/1.593e-06, allocations: 0 / 0.5564 GB, free: 168 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.82e-05/2.98e-05, allocations: 9.266 kB / 0.5564 GB, free: 160 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001587/0.001617, allocations: 0.6273 MB / 0.557 GB, free: 15.53 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001911/0.003528, allocations: 1.466 MB / 0.5585 GB, free: 14.04 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.249e-05/0.003561, allocations: 3.938 kB / 0.5585 GB, free: 14.04 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 5.779e-05/0.003619, allocations: 4 kB / 0.5585 GB, free: 14.04 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.413e-05/0.003663, allocations: 3.938 kB / 0.5585 GB, free: 14.03 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000667/0.00433, allocations: 211.5 kB / 0.5587 GB, free: 13.82 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 8.093e-05/0.004411, allocations: 35.91 kB / 0.5587 GB, free: 13.79 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.782e-05/0.004448, allocations: 4 kB / 0.5587 GB, free: 13.79 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.044e-05/0.004489, allocations: 19.92 kB / 0.5587 GB, free: 13.77 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.873e-05/0.004538, allocations: 27.95 kB / 0.5588 GB, free: 13.74 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.116e-05/0.004549, allocations: 4 kB / 0.5588 GB, free: 13.73 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000397/0.004946, allocations: 263.5 kB / 0.559 GB, free: 13.48 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.447e-05/0.00498, allocations: 11.92 kB / 0.559 GB, free: 13.46 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.426e-05/0.005004, allocations: 4 kB / 0.559 GB, free: 13.46 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003169/0.005321, allocations: 267.3 kB / 0.5593 GB, free: 13.2 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.005324, allocations: 0 / 0.5593 GB, free: 13.2 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.735e-06/0.005327, allocations: 4 kB / 0.5593 GB, free: 13.2 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.509e-06/0.005331, allocations: 0 / 0.5593 GB, free: 13.2 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.0003697/0.005701, allocations: 425.9 kB / 0.5597 GB, free: 12.74 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.005738, allocations: 12.75 kB / 0.5597 GB, free: 12.73 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.601e-05/0.005774, allocations: 4.938 kB / 0.5597 GB, free: 12.72 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.505e-05/0.005869, allocations: 128.5 kB / 0.5598 GB, free: 12.57 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.005882, allocations: 4.375 kB / 0.5599 GB, free: 12.57 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.435e-06/0.00589, allocations: 384 / 0.5599 GB, free: 12.57 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001112/0.006001, allocations: 87.86 kB / 0.5599 GB, free: 12.47 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.006009, allocations: 192 / 0.5599 GB, free: 12.47 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.006019, allocations: 4.375 kB / 0.5599 GB, free: 12.46 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.006026, allocations: 3.938 kB / 0.5599 GB, free: 12.46 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.549e-05/0.006061, allocations: 45.62 kB / 0.56 GB, free: 12.41 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.519e-05/0.006157, allocations: 93.27 kB / 0.5601 GB, free: 12.29 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.542e-05/0.006222, allocations: 76.75 kB / 0.5602 GB, free: 12.2 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.552e-05/0.006257, allocations: 49.41 kB / 0.5602 GB, free: 12.14 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.376e-06/0.006261, allocations: 0 / 0.5602 GB, free: 12.14 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/0.006287, allocations: 41.38 kB / 0.5602 GB, free: 12.09 MB / 490.7 MB Notification: Performance of pre-optimization done (n=7): time 9.12e-07/0.006288, allocations: 0 / 0.5602 GB, free: 12.09 MB / 490.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002252/0.006513, allocations: 186.8 kB / 0.5604 GB, free: 11.88 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.445e-05/0.006557, allocations: 77.11 kB / 0.5605 GB, free: 11.79 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.168e-05/0.006649, allocations: 177.8 kB / 0.5607 GB, free: 11.6 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.639e-05/0.006665, allocations: 25.7 kB / 0.5607 GB, free: 11.57 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.504e-05/0.00671, allocations: 130.9 kB / 0.5608 GB, free: 11.43 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.722e-05/0.006748, allocations: 35.8 kB / 0.5608 GB, free: 11.4 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.228e-05/0.00679, allocations: 19.38 kB / 0.5609 GB, free: 11.37 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.006933, allocations: 0.4923 MB / 0.5613 GB, free: 10.87 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.048e-05/0.006984, allocations: 41.69 kB / 0.5614 GB, free: 10.82 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.3e-05/0.007017, allocations: 41.69 kB / 0.5614 GB, free: 10.77 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.439e-05/0.007101, allocations: 99.08 kB / 0.5615 GB, free: 10.66 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.007103, allocations: 0 / 0.5615 GB, free: 10.66 MB / 490.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001428/0.007246, allocations: 137 kB / 0.5616 GB, free: 10.51 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.73e-05/0.007283, allocations: 37.69 kB / 0.5617 GB, free: 10.46 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.007288, allocations: 0 / 0.5617 GB, free: 10.46 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.838e-06/0.007298, allocations: 0 / 0.5617 GB, free: 10.46 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.072e-06/0.007299, allocations: 4.062 kB / 0.5617 GB, free: 10.46 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.007303, allocations: 4 kB / 0.5617 GB, free: 10.46 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.857e-05/0.007362, allocations: 11.92 kB / 0.5617 GB, free: 10.45 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.982e-05/0.007382, allocations: 4 kB / 0.5617 GB, free: 10.44 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 9.608e-05/0.007478, allocations: 194.3 kB / 0.5619 GB, free: 10.23 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.798e-05/0.007496, allocations: 11.95 kB / 0.5619 GB, free: 10.22 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.164e-05/0.007508, allocations: 4.438 kB / 0.5619 GB, free: 10.22 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.007509, allocations: 0 / 0.5619 GB, free: 10.22 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/0.007512, allocations: 4 kB / 0.5619 GB, free: 10.22 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.007515, allocations: 7.875 kB / 0.5619 GB, free: 10.21 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.681e-05/0.007592, allocations: 105.2 kB / 0.562 GB, free: 10.08 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.007595, allocations: 4 kB / 0.562 GB, free: 10.08 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.092e-06/0.007596, allocations: 4 kB / 0.562 GB, free: 10.07 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.007597, allocations: 0 / 0.562 GB, free: 10.07 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.822e-06/0.007604, allocations: 0 / 0.562 GB, free: 10.07 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.007605, allocations: 4 kB / 0.562 GB, free: 10.07 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.007607, allocations: 7.922 kB / 0.562 GB, free: 10.06 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001882/0.007796, allocations: 196.3 kB / 0.5622 GB, free: 9.836 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.041e-05/0.007806, allocations: 11.89 kB / 0.5622 GB, free: 9.824 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.32e-05/0.007819, allocations: 4 kB / 0.5622 GB, free: 9.82 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.723e-05/0.007846, allocations: 4 kB / 0.5622 GB, free: 9.816 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.378e-05/0.00786, allocations: 8.016 kB / 0.5623 GB, free: 9.809 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.151e-05/0.007872, allocations: 8 kB / 0.5623 GB, free: 9.801 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.458e-05/0.007916, allocations: 131.2 kB / 0.5624 GB, free: 9.672 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007916, allocations: 0 / 0.5624 GB, free: 9.672 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003181/0.008234, allocations: 71.92 kB / 0.5625 GB, free: 9.602 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.0002698/0.008504, allocations: 167.1 kB / 0.5626 GB, free: 9.426 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003266/0.008831, allocations: 190.3 kB / 0.5628 GB, free: 9.211 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.008832, allocations: 0 / 0.5628 GB, free: 9.211 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 7.269e-05/0.008905, allocations: 128.8 kB / 0.5629 GB, free: 9.062 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001436/0.009049, allocations: 11.98 kB / 0.5629 GB, free: 9.051 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002416/0.00929, allocations: 174.4 kB / 0.5631 GB, free: 8.848 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.398e-05/0.009324, allocations: 59.34 kB / 0.5631 GB, free: 8.77 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 4.869e-06/0.009329, allocations: 0 / 0.5631 GB, free: 8.77 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.104e-05/0.00941, allocations: 90.2 kB / 0.5632 GB, free: 8.68 MB / 490.7 MB Notification: Performance of SimCode: time 6.01e-07/0.009411, allocations: 0 / 0.5632 GB, free: 8.68 MB / 490.7 MB Notification: Performance of Templates: time 0.004399/0.01381, allocations: 2.416 MB / 0.5656 GB, free: 6.293 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.6750713540241122]