Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothHeaviside.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.001408/0.001408, allocations: 93.06 kB / 19.65 MB, free: 280 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.001566/0.001566, 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 0.9846/0.9846, allocations: 177.1 MB / 203.4 MB, free: 5.656 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.001744/0.001744, allocations: 242 kB / 260.2 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 0.7551/0.7551, allocations: 138.4 MB / 455.2 MB, free: 1.531 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.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothHeaviside") translateModel(BuildingSystems.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothHeaviside") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 0.5551 GB, free: 0.5078 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.373e-05/2.56e-05, allocations: 5.406 kB / 0.5551 GB, free: 0.5039 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothHeaviside): time 0.002248/0.002274, allocations: 1.506 MB / 0.5566 GB, free: 14.98 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006934/0.002967, allocations: 495.6 kB / 0.5571 GB, free: 14.49 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.99e-05/0.003007, allocations: 0 / 0.5571 GB, free: 14.49 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.058e-05/0.003038, allocations: 3.938 kB / 0.5571 GB, free: 14.49 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.316e-05/0.003101, allocations: 8 kB / 0.5571 GB, free: 14.48 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002137/0.003315, allocations: 23.84 kB / 0.5571 GB, free: 14.46 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.496e-05/0.00338, allocations: 31.86 kB / 0.5571 GB, free: 14.43 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.5e-05/0.003465, allocations: 0 / 0.5571 GB, free: 14.43 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.174e-05/0.003536, allocations: 19.98 kB / 0.5571 GB, free: 14.41 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.57e-05/0.003572, allocations: 7.984 kB / 0.5571 GB, free: 14.4 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.261e-05/0.003585, allocations: 0 / 0.5571 GB, free: 14.4 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.651e-05/0.003641, allocations: 12 kB / 0.5572 GB, free: 14.39 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.623e-05/0.003667, allocations: 15.91 kB / 0.5572 GB, free: 14.37 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.402e-05/0.003691, allocations: 4 kB / 0.5572 GB, free: 14.37 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001044/0.003796, allocations: 31.91 kB / 0.5572 GB, free: 14.34 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.003798, allocations: 4 kB / 0.5572 GB, free: 14.33 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.003799, allocations: 0 / 0.5572 GB, free: 14.33 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.597e-06/0.003802, allocations: 3.938 kB / 0.5572 GB, free: 14.33 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.0003232/0.004126, allocations: 360.6 kB / 0.5576 GB, free: 13.94 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.004161, allocations: 8.75 kB / 0.5576 GB, free: 13.93 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.366e-05/0.004195, allocations: 8.875 kB / 0.5576 GB, free: 13.93 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.752e-05/0.004272, allocations: 112.6 kB / 0.5577 GB, free: 13.79 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.127e-05/0.004284, allocations: 4.375 kB / 0.5577 GB, free: 13.79 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.052e-05/0.004294, allocations: 384 / 0.5577 GB, free: 13.79 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001122/0.004406, allocations: 62.94 kB / 0.5578 GB, free: 13.71 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.004416, allocations: 192 / 0.5578 GB, free: 13.71 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.256e-06/0.004424, allocations: 384 / 0.5578 GB, free: 13.71 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.004433, allocations: 3.938 kB / 0.5578 GB, free: 13.71 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.606e-05/0.004459, allocations: 4 kB / 0.5578 GB, free: 13.71 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002744/0.004733, allocations: 255.8 kB / 0.558 GB, free: 13.42 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.765e-05/0.004791, allocations: 27.06 kB / 0.558 GB, free: 13.38 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.325e-05/0.004814, allocations: 11.75 kB / 0.558 GB, free: 13.37 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.463e-05/0.004899, allocations: 7.984 kB / 0.558 GB, free: 13.36 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.234e-05/0.004921, allocations: 41.33 kB / 0.5581 GB, free: 13.31 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.004922, allocations: 4 kB / 0.5581 GB, free: 13.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001339/0.005056, allocations: 37.64 kB / 0.5581 GB, free: 13.26 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.611e-05/0.005082, allocations: 55.41 kB / 0.5582 GB, free: 13.2 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.75e-05/0.00515, allocations: 161.9 kB / 0.5583 GB, free: 13.02 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.907e-06/0.005159, allocations: 25.7 kB / 0.5584 GB, free: 12.99 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.834e-05/0.005197, allocations: 130.9 kB / 0.5585 GB, free: 12.86 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.768e-05/0.005215, allocations: 11.94 kB / 0.5585 GB, free: 12.84 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.41e-05/0.005239, allocations: 15.38 kB / 0.5585 GB, free: 12.82 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001027/0.005342, allocations: 496.1 kB / 0.559 GB, free: 12.32 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.344e-05/0.005355, allocations: 128 / 0.559 GB, free: 12.32 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.16e-05/0.005367, allocations: 12 kB / 0.559 GB, free: 12.31 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.678e-05/0.005393, allocations: 11.69 kB / 0.559 GB, free: 12.3 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.005395, allocations: 0 / 0.559 GB, free: 12.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.986e-05/0.005455, allocations: 45.58 kB / 0.559 GB, free: 12.25 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.00547, allocations: 7.938 kB / 0.5591 GB, free: 12.24 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.005474, allocations: 0 / 0.5591 GB, free: 12.24 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.005491, allocations: 4 kB / 0.5591 GB, free: 12.23 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.881e-05/0.00556, allocations: 8 kB / 0.5591 GB, free: 12.23 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.005564, allocations: 0 / 0.5591 GB, free: 12.23 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.783e-05/0.005582, allocations: 8.078 kB / 0.5591 GB, free: 12.22 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.005589, allocations: 4 kB / 0.5591 GB, free: 12.21 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.874e-05/0.005648, allocations: 152.6 kB / 0.5592 GB, free: 12.05 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.59e-05/0.005664, allocations: 11.88 kB / 0.5592 GB, free: 12.04 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.593e-05/0.00575, allocations: 44.94 kB / 0.5593 GB, free: 12 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.005752, allocations: 4 kB / 0.5593 GB, free: 11.99 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.005756, allocations: 0 / 0.5593 GB, free: 11.99 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.005758, allocations: 0 / 0.5593 GB, free: 11.99 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.58e-05/0.005854, allocations: 120.8 kB / 0.5594 GB, free: 11.84 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.005856, allocations: 8.031 kB / 0.5594 GB, free: 11.83 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.136e-05/0.005878, allocations: 4 kB / 0.5594 GB, free: 11.83 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.00588, allocations: 0 / 0.5594 GB, free: 11.83 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.005887, allocations: 3.938 kB / 0.5594 GB, free: 11.82 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.005889, allocations: 4 kB / 0.5594 GB, free: 11.82 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.00589, allocations: 0 / 0.5594 GB, free: 11.82 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.923e-05/0.005979, allocations: 187.9 kB / 0.5596 GB, free: 11.62 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.552e-06/0.005986, allocations: 4 kB / 0.5596 GB, free: 11.61 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.027e-05/0.005996, allocations: 7.875 kB / 0.5596 GB, free: 11.61 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.062e-05/0.006027, allocations: 3.984 kB / 0.5596 GB, free: 11.6 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.311e-05/0.00606, allocations: 8.031 kB / 0.5596 GB, free: 11.59 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-06/0.006062, allocations: 0 / 0.5596 GB, free: 11.59 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.459e-05/0.006097, allocations: 123.2 kB / 0.5597 GB, free: 11.47 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006097, allocations: 0 / 0.5597 GB, free: 11.47 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001487/0.006246, allocations: 8 kB / 0.5597 GB, free: 11.46 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.0001111/0.006357, allocations: 99.23 kB / 0.5598 GB, free: 11.36 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 7.214e-05/0.006429, allocations: 15.69 kB / 0.5599 GB, free: 11.34 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.223e-06/0.00643, allocations: 0 / 0.5599 GB, free: 11.34 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.648e-05/0.006447, allocations: 11.69 kB / 0.5599 GB, free: 11.32 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001951/0.006642, allocations: 16.11 kB / 0.5599 GB, free: 11.31 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002368/0.006878, allocations: 117.3 kB / 0.56 GB, free: 11.17 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.114e-05/0.00691, allocations: 51.36 kB / 0.56 GB, free: 11.1 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.816e-05/0.006928, allocations: 7.984 kB / 0.56 GB, free: 11.09 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.456e-05/0.006952, allocations: 12.5 kB / 0.5601 GB, free: 11.08 MB / 490.7 MB Notification: Performance of SimCode: time 7.11e-07/0.006953, allocations: 0 / 0.5601 GB, free: 11.08 MB / 490.7 MB Notification: Performance of Templates: time 0.002227/0.00918, allocations: 0.6186 MB / 0.5607 GB, free: 10.47 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothHeaviside.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothHeaviside.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7882226798683405]