Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001006/0.001006, allocations: 84.22 kB / 20.94 MB, free: 3.605 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.001241/0.001241, allocations: 169 kB / 24.25 MB, free: 304 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.027/1.027, allocations: 177.1 MB / 204.6 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5989/0.5989, allocations: 115 MB / 376 MB, free: 7.652 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside") translateModel(IBPSA.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0.5469 kB / 481.5 MB, free: 11.96 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.158e-05/2.337e-05, allocations: 3.953 kB / 481.5 MB, free: 11.95 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothHeaviside): time 0.001751/0.001775, allocations: 1.488 MB / 483 MB, free: 10.97 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006407/0.002415, allocations: 0.4886 MB / 483.5 MB, free: 10.65 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.949e-05/0.002465, allocations: 0 / 483.5 MB, free: 10.65 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.257e-05/0.002497, allocations: 0.625 kB / 483.5 MB, free: 10.65 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 8.476e-05/0.002582, allocations: 11.88 kB / 483.5 MB, free: 10.64 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002972/0.002879, allocations: 18.89 kB / 483.5 MB, free: 10.63 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 9.648e-05/0.002976, allocations: 25.58 kB / 483.6 MB, free: 10.62 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/0.003099, allocations: 4.469 kB / 483.6 MB, free: 10.62 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001009/0.0032, allocations: 21.81 kB / 483.6 MB, free: 10.61 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.544e-05/0.003245, allocations: 10.73 kB / 483.6 MB, free: 10.6 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.022e-05/0.003266, allocations: 2.312 kB / 483.6 MB, free: 10.6 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.597e-05/0.003352, allocations: 17.09 kB / 483.6 MB, free: 10.6 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.12e-05/0.003373, allocations: 4 kB / 483.6 MB, free: 10.6 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.352e-05/0.003396, allocations: 5.219 kB / 483.6 MB, free: 10.59 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001086/0.003505, allocations: 33.05 kB / 483.6 MB, free: 10.58 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.003507, allocations: 0.5938 kB / 483.7 MB, free: 10.58 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.61e-07/0.003508, allocations: 0 / 483.7 MB, free: 10.58 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.003512, allocations: 0.6875 kB / 483.7 MB, free: 10.58 MB / 410.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.0003124/0.003824, allocations: 363.2 kB / 484 MB, free: 10.21 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.003862, allocations: 9.344 kB / 484 MB, free: 10.21 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002014/0.004063, allocations: 21.25 kB / 484 MB, free: 10.2 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.579e-05/0.004139, allocations: 113.1 kB / 484.1 MB, free: 10.07 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.899e-06/0.004149, allocations: 384 / 484.1 MB, free: 10.07 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.779e-06/0.004159, allocations: 1.812 kB / 484.1 MB, free: 10.07 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001197/0.004279, allocations: 58.53 kB / 484.2 MB, free: 10.02 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.004286, allocations: 2.25 kB / 484.2 MB, free: 10.02 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.004296, allocations: 1.25 kB / 484.2 MB, free: 10.02 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.004304, allocations: 3.938 kB / 484.2 MB, free: 10.02 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.524e-05/0.004339, allocations: 12.77 kB / 484.2 MB, free: 10.01 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002612/0.0046, allocations: 250.4 kB / 484.5 MB, free: 9.75 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.357e-05/0.004654, allocations: 40.03 kB / 484.5 MB, free: 9.707 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.341e-05/0.004677, allocations: 14.38 kB / 484.5 MB, free: 9.695 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.57e-05/0.004693, allocations: 0 / 484.5 MB, free: 9.695 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.739e-05/0.00471, allocations: 37.33 kB / 484.6 MB, free: 9.648 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.004711, allocations: 5.125 kB / 484.6 MB, free: 9.645 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001666/0.004878, allocations: 48.58 kB / 484.6 MB, free: 9.605 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.732e-05/0.004905, allocations: 54.78 kB / 484.7 MB, free: 9.543 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.863e-05/0.004964, allocations: 162.2 kB / 484.8 MB, free: 9.375 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.594e-06/0.004971, allocations: 26.3 kB / 484.8 MB, free: 9.344 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001965/0.005168, allocations: 128.6 kB / 485 MB, free: 25.21 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.653e-05/0.005194, allocations: 16.89 kB / 485 MB, free: 25.2 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.852e-05/0.005223, allocations: 19.31 kB / 485 MB, free: 25.18 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.005348, allocations: 497.8 kB / 485.5 MB, free: 24.68 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.701e-05/0.005365, allocations: 1.688 kB / 485.5 MB, free: 24.68 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.498e-05/0.00538, allocations: 8.562 kB / 485.5 MB, free: 24.68 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.36e-05/0.005414, allocations: 13.81 kB / 485.5 MB, free: 24.67 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.005416, allocations: 0 / 485.5 MB, free: 24.67 MB / 426.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.712e-05/0.005473, allocations: 44.22 kB / 485.6 MB, free: 24.63 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.005488, allocations: 9.594 kB / 485.6 MB, free: 24.63 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.005494, allocations: 0.5 kB / 485.6 MB, free: 24.63 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.00551, allocations: 0.5 kB / 485.6 MB, free: 24.63 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.604e-05/0.005596, allocations: 14.53 kB / 485.6 MB, free: 24.62 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.005602, allocations: 1.188 kB / 485.6 MB, free: 24.62 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.53e-05/0.005627, allocations: 2.219 kB / 485.6 MB, free: 24.62 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-06/0.005633, allocations: 2.375 kB / 485.6 MB, free: 24.62 MB / 426.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 6.121e-05/0.005694, allocations: 156.4 kB / 485.7 MB, free: 24.46 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.387e-05/0.005708, allocations: 7.906 kB / 485.8 MB, free: 24.46 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.759e-05/0.005745, allocations: 10.03 kB / 485.8 MB, free: 24.45 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.005748, allocations: 0 / 485.8 MB, free: 24.45 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.005753, allocations: 4 kB / 485.8 MB, free: 24.45 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.005756, allocations: 0.6875 kB / 485.8 MB, free: 24.45 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.888e-05/0.005835, allocations: 115 kB / 485.9 MB, free: 24.31 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.005837, allocations: 0 / 485.9 MB, free: 24.31 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.907e-05/0.005866, allocations: 12.34 kB / 485.9 MB, free: 24.31 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.005867, allocations: 0.5625 kB / 485.9 MB, free: 24.31 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.697e-06/0.005876, allocations: 8.625 kB / 485.9 MB, free: 24.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-07/0.005876, allocations: 1.156 kB / 485.9 MB, free: 24.3 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.005877, allocations: 0 / 485.9 MB, free: 24.3 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001093/0.005986, allocations: 189 kB / 486.1 MB, free: 24.11 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.015e-06/0.005994, allocations: 7.656 kB / 486.1 MB, free: 24.11 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.209e-05/0.006006, allocations: 9.844 kB / 486.1 MB, free: 24.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.756e-05/0.006044, allocations: 3.938 kB / 486.1 MB, free: 24.1 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.817e-05/0.006082, allocations: 3.281 kB / 486.1 MB, free: 24.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.153e-06/0.006089, allocations: 0.6562 kB / 486.1 MB, free: 24.1 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.338e-05/0.006132, allocations: 123.8 kB / 486.2 MB, free: 23.98 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006132, allocations: 1 kB / 486.2 MB, free: 23.98 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001385/0.006271, allocations: 3.438 kB / 486.2 MB, free: 23.98 MB / 426.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 8.277e-05/0.006354, allocations: 100.8 kB / 486.3 MB, free: 23.89 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 9.186e-05/0.006445, allocations: 21.03 kB / 486.4 MB, free: 23.88 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.006447, allocations: 0 / 486.4 MB, free: 23.88 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.15e-05/0.006469, allocations: 19.7 kB / 486.4 MB, free: 23.87 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001935/0.006662, allocations: 4.375 kB / 486.4 MB, free: 23.87 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002463/0.006908, allocations: 111.5 kB / 486.5 MB, free: 23.75 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.719e-05/0.006936, allocations: 56.06 kB / 486.5 MB, free: 23.68 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.836e-05/0.006964, allocations: 6.188 kB / 486.5 MB, free: 23.68 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.862e-05/0.006992, allocations: 13.16 kB / 486.6 MB, free: 23.67 MB / 426.7 MB Notification: Performance of SimCode: time 6.11e-07/0.006993, allocations: 3.25 kB / 486.6 MB, free: 23.67 MB / 426.7 MB Notification: Performance of Templates: time 0.002167/0.00916, allocations: 0.6074 MB / 487.2 MB, free: 23.61 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5761918649077415]