Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.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.00141/0.00141, allocations: 93.06 kB / 19.65 MB, free: 284 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.001032/0.001032, allocations: 169 kB / 23.02 MB, free: 1.555 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.003/1.003, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.001602/0.001602, allocations: 230 kB / 260.2 MB, free: 12.83 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.8133/0.8133, allocations: 138.4 MB / 455.2 MB, free: 1.551 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.Examples.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential") translateModel(BuildingSystems.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.714e-06/1.714e-06, allocations: 0 / 0.5551 GB, free: 0.5273 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.283e-05/1.454e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.5234 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothExponential): time 0.001634/0.001649, allocations: 1.495 MB / 0.5566 GB, free: 15.02 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003429/0.001992, allocations: 188.2 kB / 0.5568 GB, free: 14.83 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.188e-05/0.002024, allocations: 0 / 0.5568 GB, free: 14.83 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.395e-05/0.002058, allocations: 3.938 kB / 0.5568 GB, free: 14.82 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.295e-05/0.002101, allocations: 7.984 kB / 0.5568 GB, free: 14.82 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002668/0.002367, allocations: 39.89 kB / 0.5568 GB, free: 14.78 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.479e-05/0.002432, allocations: 15.94 kB / 0.5568 GB, free: 14.76 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.803e-05/0.00252, allocations: 11.98 kB / 0.5568 GB, free: 14.75 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.187e-05/0.002572, allocations: 11.94 kB / 0.5569 GB, free: 14.74 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.007e-05/0.002612, allocations: 3.984 kB / 0.5569 GB, free: 14.73 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.555e-05/0.002628, allocations: 4 kB / 0.5569 GB, free: 14.73 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.661e-05/0.002714, allocations: 35.91 kB / 0.5569 GB, free: 14.7 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.587e-05/0.00273, allocations: 7.969 kB / 0.5569 GB, free: 14.69 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.984e-05/0.00275, allocations: 8 kB / 0.5569 GB, free: 14.68 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001217/0.002872, allocations: 47.83 kB / 0.557 GB, free: 14.63 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.002874, allocations: 0 / 0.557 GB, free: 14.63 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.002874, allocations: 0 / 0.557 GB, free: 14.63 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.977e-06/0.002878, allocations: 0 / 0.557 GB, free: 14.63 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003501/0.003229, allocations: 364.6 kB / 0.5573 GB, free: 14.24 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.003264, allocations: 12.75 kB / 0.5573 GB, free: 14.23 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.455e-05/0.003299, allocations: 0.9375 kB / 0.5573 GB, free: 14.23 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.037e-05/0.003379, allocations: 116.5 kB / 0.5574 GB, free: 14.09 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.979e-06/0.003389, allocations: 384 / 0.5574 GB, free: 14.09 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.665e-06/0.003397, allocations: 384 / 0.5574 GB, free: 14.09 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001067/0.003503, allocations: 58.95 kB / 0.5575 GB, free: 14.02 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.00351, allocations: 192 / 0.5575 GB, free: 14.02 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.505e-06/0.003518, allocations: 4.312 kB / 0.5575 GB, free: 14.02 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.408e-06/0.003527, allocations: 4.375 kB / 0.5575 GB, free: 14.01 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.689e-05/0.003554, allocations: 7.922 kB / 0.5575 GB, free: 14 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00026/0.003814, allocations: 247.8 kB / 0.5577 GB, free: 13.73 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.441e-05/0.003868, allocations: 39.09 kB / 0.5578 GB, free: 13.68 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.381e-05/0.003892, allocations: 7.688 kB / 0.5578 GB, free: 13.66 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.697e-05/0.003959, allocations: 4.062 kB / 0.5578 GB, free: 13.66 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.348e-05/0.003983, allocations: 37.33 kB / 0.5578 GB, free: 13.61 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 8.02e-07/0.003984, allocations: 4 kB / 0.5578 GB, free: 13.61 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001458/0.004129, allocations: 49.62 kB / 0.5579 GB, free: 13.55 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.23e-05/0.004162, allocations: 51.41 kB / 0.5579 GB, free: 13.49 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.072e-05/0.004232, allocations: 161.9 kB / 0.5581 GB, free: 13.32 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.709e-06/0.004242, allocations: 25.7 kB / 0.5581 GB, free: 13.29 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.017e-05/0.004292, allocations: 134.9 kB / 0.5582 GB, free: 13.15 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.093e-05/0.004313, allocations: 7.953 kB / 0.5582 GB, free: 13.14 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.295e-05/0.004336, allocations: 23.31 kB / 0.5583 GB, free: 13.11 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.004444, allocations: 492.1 kB / 0.5587 GB, free: 12.62 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.217e-05/0.004456, allocations: 0 / 0.5587 GB, free: 12.62 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.161e-05/0.004468, allocations: 16.06 kB / 0.5587 GB, free: 12.6 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.573e-05/0.004494, allocations: 15.67 kB / 0.5588 GB, free: 12.58 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.004495, allocations: 0 / 0.5588 GB, free: 12.58 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.51e-05/0.00454, allocations: 37.66 kB / 0.5588 GB, free: 12.54 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.114e-05/0.004551, allocations: 11.12 kB / 0.5588 GB, free: 12.53 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.8e-06/0.004556, allocations: 3.938 kB / 0.5588 GB, free: 12.53 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.004567, allocations: 0 / 0.5588 GB, free: 12.53 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.475e-05/0.004632, allocations: 11.98 kB / 0.5588 GB, free: 12.52 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.004638, allocations: 3.984 kB / 0.5588 GB, free: 12.51 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.681e-05/0.004655, allocations: 8.094 kB / 0.5588 GB, free: 12.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.057e-06/0.004659, allocations: 0 / 0.5588 GB, free: 12.5 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 5.485e-05/0.004714, allocations: 156.5 kB / 0.559 GB, free: 12.34 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.309e-05/0.004727, allocations: 4 kB / 0.559 GB, free: 12.34 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.151e-05/0.004799, allocations: 48.94 kB / 0.559 GB, free: 12.29 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.083e-06/0.004801, allocations: 0 / 0.559 GB, free: 12.29 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.004804, allocations: 0 / 0.559 GB, free: 12.29 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.004806, allocations: 0 / 0.559 GB, free: 12.29 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.337e-05/0.00489, allocations: 116.6 kB / 0.5591 GB, free: 12.14 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.00489, allocations: 0 / 0.5591 GB, free: 12.14 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.834e-05/0.004909, allocations: 8.031 kB / 0.5591 GB, free: 12.13 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.004912, allocations: 7.969 kB / 0.5592 GB, free: 12.12 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.78e-06/0.004918, allocations: 4 kB / 0.5592 GB, free: 12.12 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.004919, allocations: 3.938 kB / 0.5592 GB, free: 12.11 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.00492, allocations: 0 / 0.5592 GB, free: 12.11 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.866e-05/0.004999, allocations: 187.8 kB / 0.5593 GB, free: 11.91 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.991e-06/0.005005, allocations: 4 kB / 0.5593 GB, free: 11.91 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.067e-06/0.005014, allocations: 3.984 kB / 0.5594 GB, free: 11.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.875e-05/0.005043, allocations: 7.938 kB / 0.5594 GB, free: 11.89 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.014e-05/0.005073, allocations: 0 / 0.5594 GB, free: 11.89 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.024e-06/0.005075, allocations: 4.281 kB / 0.5594 GB, free: 11.89 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.312e-05/0.005108, allocations: 131.2 kB / 0.5595 GB, free: 11.76 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.005108, allocations: 0 / 0.5595 GB, free: 11.76 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001471/0.005255, allocations: 15.94 kB / 0.5595 GB, free: 11.75 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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.0001012/0.005356, allocations: 107.2 kB / 0.5596 GB, free: 11.63 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 6.825e-05/0.005425, allocations: 15.67 kB / 0.5596 GB, free: 11.61 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.005426, allocations: 0 / 0.5596 GB, free: 11.61 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.441e-05/0.00544, allocations: 15.62 kB / 0.5596 GB, free: 11.59 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001649/0.005605, allocations: 12.12 kB / 0.5596 GB, free: 11.58 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002167/0.005822, allocations: 113.4 kB / 0.5598 GB, free: 11.45 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.987e-05/0.005852, allocations: 51.36 kB / 0.5598 GB, free: 11.38 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.414e-05/0.005866, allocations: 4 kB / 0.5598 GB, free: 11.37 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.875e-05/0.005885, allocations: 12.5 kB / 0.5598 GB, free: 11.36 MB / 490.7 MB Notification: Performance of SimCode: time 3.91e-07/0.005885, allocations: 0 / 0.5598 GB, free: 11.36 MB / 490.7 MB Notification: Performance of Templates: time 0.002142/0.008028, allocations: 0.6826 MB / 0.5605 GB, free: 10.68 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6341761178337038]