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.001362/0.001362, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001488/0.001488, allocations: 169 kB / 23.49 MB, free: 1.059 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.043/1.043, allocations: 177.1 MB / 203.8 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.001691/0.001691, allocations: 237 kB / 260.5 MB, free: 12.88 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.7547/0.7547, allocations: 138.4 MB / 455.4 MB, free: 1.527 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.553e-06/1.553e-06, allocations: 0 / 0.555 GB, free: 0.8516 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.467e-05/1.622e-05, allocations: 2.312 kB / 0.555 GB, free: 0.8477 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothExponential): time 0.001814/0.00183, allocations: 1.498 MB / 0.5565 GB, free: 15.34 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004193/0.002249, allocations: 184.2 kB / 0.5567 GB, free: 15.15 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.444e-05/0.002294, allocations: 4 kB / 0.5567 GB, free: 15.15 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.242e-05/0.002326, allocations: 3.938 kB / 0.5567 GB, free: 15.14 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.168e-05/0.002378, allocations: 0 / 0.5567 GB, free: 15.14 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003246/0.002702, allocations: 39.89 kB / 0.5567 GB, free: 15.11 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.475e-05/0.002777, allocations: 31.86 kB / 0.5568 GB, free: 15.07 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.605e-05/0.002873, allocations: 0 / 0.5568 GB, free: 15.07 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.812e-05/0.002931, allocations: 11.98 kB / 0.5568 GB, free: 15.06 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.994e-05/0.002971, allocations: 11.98 kB / 0.5568 GB, free: 15.05 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.892e-05/0.00299, allocations: 4 kB / 0.5568 GB, free: 15.05 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.202e-05/0.003072, allocations: 31.95 kB / 0.5568 GB, free: 15.02 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.764e-05/0.00309, allocations: 4 kB / 0.5568 GB, free: 15.01 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.279e-05/0.003113, allocations: 15.92 kB / 0.5568 GB, free: 15 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000114/0.003226, allocations: 35.83 kB / 0.5569 GB, free: 14.96 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.003228, allocations: 0 / 0.5569 GB, free: 14.96 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.003229, allocations: 4 kB / 0.5569 GB, free: 14.96 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.486e-06/0.003233, allocations: 0 / 0.5569 GB, free: 14.96 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.0003289/0.003562, allocations: 364.6 kB / 0.5572 GB, free: 14.56 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.003605, allocations: 8.75 kB / 0.5572 GB, free: 14.55 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.704e-05/0.003642, allocations: 8.938 kB / 0.5572 GB, free: 14.55 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.199e-05/0.003734, allocations: 120.5 kB / 0.5573 GB, free: 14.4 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.003748, allocations: 4.375 kB / 0.5573 GB, free: 14.4 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.033e-05/0.003758, allocations: 384 / 0.5573 GB, free: 14.4 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001343/0.003892, allocations: 50.95 kB / 0.5574 GB, free: 14.34 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.003901, allocations: 192 / 0.5574 GB, free: 14.34 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.003913, allocations: 8.375 kB / 0.5574 GB, free: 14.33 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/0.003924, allocations: 384 / 0.5574 GB, free: 14.33 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.396e-05/0.003958, allocations: 11.88 kB / 0.5574 GB, free: 14.32 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003338/0.004291, allocations: 247.8 kB / 0.5577 GB, free: 14.04 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.804e-05/0.004359, allocations: 35.05 kB / 0.5577 GB, free: 14 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.91e-05/0.004388, allocations: 11.75 kB / 0.5577 GB, free: 13.98 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.207e-05/0.004461, allocations: 3.984 kB / 0.5577 GB, free: 13.98 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.421e-05/0.004485, allocations: 45.27 kB / 0.5577 GB, free: 13.92 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 1.232e-06/0.004486, allocations: 0 / 0.5577 GB, free: 13.92 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001921/0.004678, allocations: 45.64 kB / 0.5578 GB, free: 13.87 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.694e-05/0.004715, allocations: 51.41 kB / 0.5578 GB, free: 13.81 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.664e-05/0.004792, allocations: 165.9 kB / 0.558 GB, free: 13.63 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.137e-05/0.004803, allocations: 25.7 kB / 0.558 GB, free: 13.6 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.229e-05/0.004845, allocations: 126.9 kB / 0.5581 GB, free: 13.47 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.82e-05/0.004864, allocations: 11.95 kB / 0.5582 GB, free: 13.46 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.501e-05/0.004889, allocations: 19.36 kB / 0.5582 GB, free: 13.43 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001053/0.004994, allocations: 496.1 kB / 0.5586 GB, free: 12.93 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.271e-05/0.005007, allocations: 0 / 0.5586 GB, free: 12.93 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.178e-06/0.005016, allocations: 0 / 0.5586 GB, free: 12.93 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.913e-05/0.005045, allocations: 27.81 kB / 0.5587 GB, free: 12.9 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.005047, allocations: 0 / 0.5587 GB, free: 12.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.156e-05/0.005098, allocations: 41.64 kB / 0.5587 GB, free: 12.86 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.005112, allocations: 6.812 kB / 0.5587 GB, free: 12.85 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.005117, allocations: 3.938 kB / 0.5587 GB, free: 12.85 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.005129, allocations: 0 / 0.5587 GB, free: 12.85 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.018e-05/0.005189, allocations: 4 kB / 0.5587 GB, free: 12.84 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.005194, allocations: 4 kB / 0.5587 GB, free: 12.84 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.542e-05/0.005209, allocations: 3.984 kB / 0.5587 GB, free: 12.84 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.448e-06/0.005214, allocations: 4 kB / 0.5587 GB, free: 12.83 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.614e-05/0.00527, allocations: 160.6 kB / 0.5589 GB, free: 12.66 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.163e-05/0.005281, allocations: 0 / 0.5589 GB, free: 12.66 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.489e-05/0.005356, allocations: 53.12 kB / 0.5589 GB, free: 12.61 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.005358, allocations: 0 / 0.5589 GB, free: 12.61 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.005362, allocations: 4 kB / 0.5589 GB, free: 12.61 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.005365, allocations: 4 kB / 0.5589 GB, free: 12.6 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.236e-05/0.005448, allocations: 116.6 kB / 0.5591 GB, free: 12.45 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.005449, allocations: 0 / 0.5591 GB, free: 12.45 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.859e-05/0.005467, allocations: 4 kB / 0.5591 GB, free: 12.45 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-06/0.005468, allocations: 0 / 0.5591 GB, free: 12.45 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-06/0.005474, allocations: 4.031 kB / 0.5591 GB, free: 12.45 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.005476, allocations: 3.938 kB / 0.5591 GB, free: 12.44 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.005477, allocations: 0 / 0.5591 GB, free: 12.44 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.178e-05/0.005559, allocations: 191.8 kB / 0.5593 GB, free: 12.23 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.551e-06/0.005564, allocations: 7.938 kB / 0.5593 GB, free: 12.23 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.178e-06/0.005574, allocations: 4 kB / 0.5593 GB, free: 12.22 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.049e-05/0.005604, allocations: 7.922 kB / 0.5593 GB, free: 12.21 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.34e-05/0.005638, allocations: 0 / 0.5593 GB, free: 12.21 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.365e-06/0.00564, allocations: 4 kB / 0.5593 GB, free: 12.21 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.155e-05/0.005671, allocations: 123.2 kB / 0.5594 GB, free: 12.09 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005671, allocations: 4.031 kB / 0.5594 GB, free: 12.09 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001488/0.00582, allocations: 11.94 kB / 0.5594 GB, free: 12.07 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.0001059/0.005926, allocations: 107.2 kB / 0.5595 GB, free: 11.96 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 7.09e-05/0.005997, allocations: 15.69 kB / 0.5595 GB, free: 11.94 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.005998, allocations: 0 / 0.5595 GB, free: 11.94 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.666e-05/0.006015, allocations: 15.62 kB / 0.5595 GB, free: 11.92 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001668/0.006182, allocations: 7.984 kB / 0.5595 GB, free: 11.91 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002144/0.006396, allocations: 117.5 kB / 0.5597 GB, free: 11.77 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.84e-05/0.006425, allocations: 55.36 kB / 0.5597 GB, free: 11.7 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.477e-05/0.00644, allocations: 0 / 0.5597 GB, free: 11.7 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.935e-05/0.006459, allocations: 12.5 kB / 0.5597 GB, free: 11.69 MB / 490.7 MB Notification: Performance of SimCode: time 5.71e-07/0.006459, allocations: 0 / 0.5597 GB, free: 11.69 MB / 490.7 MB Notification: Performance of Templates: time 0.001996/0.008455, allocations: 0.6333 MB / 0.5603 GB, free: 11.06 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.754056472098455]