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.002761/0.002761, allocations: 93.47 kB / 19.44 MB, free: 332 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.003019/0.003019, allocations: 169.2 kB / 22.76 MB, free: 1.66 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.644/1.644, allocations: 177.1 MB / 203.1 MB, free: 5.598 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.003231/0.003231, allocations: 234.2 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.18/1.18, allocations: 138.4 MB / 454.7 MB, free: 1.496 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.663e-06/1.663e-06, allocations: 0 / 0.5543 GB, free: 0.8438 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.78e-05/2.947e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.8398 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothExponential): time 0.002852/0.002881, allocations: 1.452 MB / 0.5558 GB, free: 15.38 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004556/0.003337, allocations: 188.2 kB / 0.5559 GB, free: 15.19 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.105e-05/0.003368, allocations: 4 kB / 0.5559 GB, free: 15.18 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.566e-05/0.003393, allocations: 3.938 kB / 0.556 GB, free: 15.18 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.857e-05/0.003442, allocations: 4 kB / 0.556 GB, free: 15.18 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002597/0.003702, allocations: 35.89 kB / 0.556 GB, free: 15.14 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.219e-05/0.003764, allocations: 19.92 kB / 0.556 GB, free: 15.12 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.058e-05/0.003844, allocations: 15.92 kB / 0.556 GB, free: 15.11 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.516e-05/0.0039, allocations: 8 kB / 0.556 GB, free: 15.1 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.469e-05/0.003934, allocations: 7.984 kB / 0.556 GB, free: 15.09 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.444e-05/0.003949, allocations: 0 / 0.556 GB, free: 15.09 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.111e-05/0.00404, allocations: 35.95 kB / 0.5561 GB, free: 15.05 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.463e-05/0.004055, allocations: 8 kB / 0.5561 GB, free: 15.05 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.621e-05/0.004081, allocations: 11.92 kB / 0.5561 GB, free: 15.04 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001347/0.004215, allocations: 51.8 kB / 0.5561 GB, free: 14.98 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.004218, allocations: 0 / 0.5561 GB, free: 14.98 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.004218, allocations: 0 / 0.5561 GB, free: 14.98 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.004223, allocations: 0 / 0.5561 GB, free: 14.98 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.0005262/0.004749, allocations: 364.2 kB / 0.5565 GB, free: 14.59 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.004788, allocations: 8.75 kB / 0.5565 GB, free: 14.58 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.641e-05/0.004834, allocations: 12.89 kB / 0.5565 GB, free: 14.57 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.004956, allocations: 116.5 kB / 0.5566 GB, free: 14.43 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.004967, allocations: 8.375 kB / 0.5566 GB, free: 14.42 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.684e-06/0.004975, allocations: 384 / 0.5566 GB, free: 14.42 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001479/0.005123, allocations: 42.25 kB / 0.5567 GB, free: 14.38 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.005131, allocations: 192 / 0.5567 GB, free: 14.38 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.005141, allocations: 4.359 kB / 0.5567 GB, free: 14.37 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.687e-06/0.00515, allocations: 4.375 kB / 0.5567 GB, free: 14.37 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001155/0.005266, allocations: 27.86 kB / 0.5567 GB, free: 14.34 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003783/0.005644, allocations: 251.8 kB / 0.5569 GB, free: 14.06 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001208/0.005765, allocations: 39.06 kB / 0.557 GB, free: 14.01 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.831e-05/0.005833, allocations: 27.73 kB / 0.557 GB, free: 13.98 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.359e-05/0.005897, allocations: 4 kB / 0.557 GB, free: 13.97 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.711e-05/0.005934, allocations: 33.39 kB / 0.557 GB, free: 13.93 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.005935, allocations: 3.938 kB / 0.557 GB, free: 13.93 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002971/0.006232, allocations: 73.55 kB / 0.5571 GB, free: 13.85 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.346e-05/0.006275, allocations: 51.41 kB / 0.5572 GB, free: 13.79 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001395/0.006415, allocations: 165.9 kB / 0.5573 GB, free: 13.61 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.018e-05/0.006435, allocations: 25.7 kB / 0.5574 GB, free: 13.57 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.815e-05/0.006523, allocations: 135 kB / 0.5575 GB, free: 13.44 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.993e-05/0.006543, allocations: 11.95 kB / 0.5575 GB, free: 13.43 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.285e-05/0.006586, allocations: 19.38 kB / 0.5575 GB, free: 13.4 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002493/0.006835, allocations: 0.4884 MB / 0.558 GB, free: 12.9 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.616e-05/0.006891, allocations: 8 kB / 0.558 GB, free: 12.89 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.771e-05/0.006939, allocations: 11.98 kB / 0.558 GB, free: 12.88 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001034/0.007042, allocations: 35.61 kB / 0.558 GB, free: 12.84 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.007044, allocations: 0 / 0.558 GB, free: 12.84 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001474/0.007191, allocations: 57.75 kB / 0.5581 GB, free: 12.78 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.007205, allocations: 4 kB / 0.5581 GB, free: 12.77 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-06/0.007212, allocations: 3.938 kB / 0.5581 GB, free: 12.77 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.007224, allocations: 0 / 0.5581 GB, free: 12.77 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.411e-05/0.007298, allocations: 11.98 kB / 0.5581 GB, free: 12.76 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.007305, allocations: 3.984 kB / 0.5581 GB, free: 12.75 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.713e-05/0.007342, allocations: 0 / 0.5581 GB, free: 12.75 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.195e-06/0.007351, allocations: 4 kB / 0.5581 GB, free: 12.75 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 0.0001049/0.007456, allocations: 152.6 kB / 0.5583 GB, free: 12.59 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.928e-05/0.007485, allocations: 8.031 kB / 0.5583 GB, free: 12.58 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001815/0.007666, allocations: 68.86 kB / 0.5583 GB, free: 12.51 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.007668, allocations: 0 / 0.5583 GB, free: 12.51 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.007671, allocations: 0 / 0.5583 GB, free: 12.51 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.007673, allocations: 0 / 0.5583 GB, free: 12.51 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003809/0.008054, allocations: 120.6 kB / 0.5585 GB, free: 12.36 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.008055, allocations: 256 / 0.5585 GB, free: 12.36 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.793e-05/0.008103, allocations: 11.98 kB / 0.5585 GB, free: 12.35 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.008104, allocations: 0 / 0.5585 GB, free: 12.35 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.681e-06/0.00811, allocations: 0 / 0.5585 GB, free: 12.35 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.008114, allocations: 7.969 kB / 0.5585 GB, free: 12.34 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.008115, allocations: 0 / 0.5585 GB, free: 12.34 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002483/0.008363, allocations: 211.8 kB / 0.5587 GB, free: 12.11 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.422e-06/0.008369, allocations: 0 / 0.5587 GB, free: 12.11 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.302e-05/0.008382, allocations: 7.922 kB / 0.5587 GB, free: 12.11 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.047e-05/0.008443, allocations: 7.938 kB / 0.5587 GB, free: 12.1 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.461e-05/0.008478, allocations: 0 / 0.5587 GB, free: 12.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-06/0.008481, allocations: 0 / 0.5587 GB, free: 12.1 MB / 490.7 MB Notification: Performance of sorting global known variables: time 7.711e-05/0.008558, allocations: 131.2 kB / 0.5588 GB, free: 11.97 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008558, allocations: 0 / 0.5588 GB, free: 11.97 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002181/0.008776, allocations: 19.97 kB / 0.5588 GB, free: 11.95 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.0001635/0.00894, allocations: 99.25 kB / 0.5589 GB, free: 11.84 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001664/0.009106, allocations: 31.67 kB / 0.559 GB, free: 11.81 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.009107, allocations: 0 / 0.559 GB, free: 11.81 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 7.126e-05/0.009178, allocations: 31.61 kB / 0.559 GB, free: 11.77 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002321/0.009411, allocations: 0 / 0.559 GB, free: 11.77 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003054/0.009716, allocations: 121.5 kB / 0.5591 GB, free: 11.63 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.429e-05/0.00979, allocations: 67.34 kB / 0.5592 GB, free: 11.54 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.078e-05/0.009811, allocations: 0 / 0.5592 GB, free: 11.54 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.806e-05/0.009839, allocations: 12.5 kB / 0.5592 GB, free: 11.53 MB / 490.7 MB Notification: Performance of SimCode: time 5.71e-07/0.00984, allocations: 0 / 0.5592 GB, free: 11.53 MB / 490.7 MB Notification: Performance of Templates: time 0.003437/0.01328, allocations: 0.6397 MB / 0.5598 GB, free: 10.9 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: 5.921055824030191]