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.001116/0.001116, allocations: 96.09 kB / 20.43 MB, free: 4.137 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.001264/0.001264, allocations: 165 kB / 23.8 MB, free: 0.7695 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.9765/0.9765, allocations: 177.1 MB / 204.2 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.6368/0.6368, allocations: 114.9 MB / 375.7 MB, free: 7.613 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 2.004e-06/2.004e-06, allocations: 0 / 481.5 MB, free: 11.84 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.091e-05/3.291e-05, allocations: 2.312 kB / 481.5 MB, free: 11.83 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothHeaviside): time 0.005405/0.005438, allocations: 1.496 MB / 483 MB, free: 10.84 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.000789/0.006227, allocations: 0.4887 MB / 483.5 MB, free: 10.53 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.153e-05/0.006298, allocations: 0 / 483.5 MB, free: 10.53 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.076e-05/0.006339, allocations: 3.938 kB / 483.5 MB, free: 10.52 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 7.455e-05/0.006414, allocations: 9.516 kB / 483.5 MB, free: 10.52 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002624/0.006676, allocations: 19.28 kB / 483.5 MB, free: 10.51 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 7.546e-05/0.006752, allocations: 26.55 kB / 483.6 MB, free: 10.5 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.633e-05/0.006848, allocations: 4.016 kB / 483.6 MB, free: 10.5 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.923e-05/0.006927, allocations: 14.31 kB / 483.6 MB, free: 10.49 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.829e-05/0.006965, allocations: 14.02 kB / 483.6 MB, free: 10.48 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.561e-05/0.006981, allocations: 2.219 kB / 483.6 MB, free: 10.48 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.256e-05/0.007044, allocations: 14.55 kB / 483.6 MB, free: 10.48 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.589e-05/0.00706, allocations: 8.797 kB / 483.6 MB, free: 10.48 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.123e-05/0.007081, allocations: 6.75 kB / 483.6 MB, free: 10.47 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003152/0.01023, allocations: 35.61 kB / 483.7 MB, free: 10.45 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.01024, allocations: 0 / 483.7 MB, free: 10.45 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.01024, allocations: 0.5625 kB / 483.7 MB, free: 10.45 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.638e-06/0.01024, allocations: 1.094 kB / 483.7 MB, free: 10.45 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.0003274/0.01057, allocations: 364.1 kB / 484 MB, free: 10.08 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.01061, allocations: 9.688 kB / 484 MB, free: 10.08 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002407/0.01085, allocations: 22 kB / 484 MB, free: 10.08 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.056e-05/0.01093, allocations: 111.2 kB / 484.1 MB, free: 9.945 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.01094, allocations: 1.125 kB / 484.2 MB, free: 9.945 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.334e-05/0.01095, allocations: 2.312 kB / 484.2 MB, free: 9.945 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001354/0.01109, allocations: 54.75 kB / 484.2 MB, free: 9.898 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.0111, allocations: 1.625 kB / 484.2 MB, free: 9.898 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.01111, allocations: 1.469 kB / 484.2 MB, free: 9.898 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.455e-06/0.01112, allocations: 3.938 kB / 484.2 MB, free: 9.895 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.966e-05/0.01116, allocations: 16.11 kB / 484.2 MB, free: 9.887 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002921/0.01145, allocations: 249.7 kB / 484.5 MB, free: 9.625 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.491e-05/0.0115, allocations: 33.44 kB / 484.5 MB, free: 9.59 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.405e-05/0.01153, allocations: 12.03 kB / 484.5 MB, free: 9.578 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.148e-05/0.01155, allocations: 0 / 484.5 MB, free: 9.578 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.726e-05/0.01157, allocations: 40.42 kB / 484.6 MB, free: 9.531 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 8.61e-07/0.01157, allocations: 0 / 484.6 MB, free: 9.531 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001675/0.01174, allocations: 53.02 kB / 484.6 MB, free: 9.488 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.004e-05/0.01176, allocations: 53.97 kB / 484.7 MB, free: 9.426 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002173/0.01197, allocations: 162.6 kB / 484.8 MB, free: 25.26 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.704e-06/0.01198, allocations: 26.83 kB / 484.8 MB, free: 25.23 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.556e-05/0.01203, allocations: 132 kB / 485 MB, free: 25.09 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.983e-05/0.01205, allocations: 9.516 kB / 485 MB, free: 25.09 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.451e-05/0.01208, allocations: 22.62 kB / 485 MB, free: 25.06 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.0122, allocations: 497.2 kB / 485.5 MB, free: 24.57 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.316e-05/0.01222, allocations: 5.906 kB / 485.5 MB, free: 24.56 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.479e-05/0.01224, allocations: 3.969 kB / 485.5 MB, free: 24.56 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.041e-05/0.01228, allocations: 18.16 kB / 485.5 MB, free: 24.55 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.01228, allocations: 0.625 kB / 485.5 MB, free: 24.55 MB / 426.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.801e-05/0.01236, allocations: 45.34 kB / 485.6 MB, free: 24.51 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.01237, allocations: 9.031 kB / 485.6 MB, free: 24.51 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.01238, allocations: 1.156 kB / 485.6 MB, free: 24.51 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.01239, allocations: 0 / 485.6 MB, free: 24.51 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.648e-05/0.01249, allocations: 9.797 kB / 485.6 MB, free: 24.51 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.0125, allocations: 0 / 485.6 MB, free: 24.51 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.055e-05/0.01253, allocations: 8.125 kB / 485.6 MB, free: 24.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/0.01253, allocations: 1.219 kB / 485.6 MB, free: 24.5 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.357e-05/0.0126, allocations: 154.5 kB / 485.7 MB, free: 24.34 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.332e-05/0.01262, allocations: 7.281 kB / 485.8 MB, free: 24.34 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.132e-05/0.01266, allocations: 11.53 kB / 485.8 MB, free: 24.33 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.01266, allocations: 1.594 kB / 485.8 MB, free: 24.33 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.01267, allocations: 0 / 485.8 MB, free: 24.33 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.01267, allocations: 5.875 kB / 485.8 MB, free: 24.33 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.777e-05/0.01277, allocations: 116.4 kB / 485.9 MB, free: 24.19 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.01277, allocations: 1.031 kB / 485.9 MB, free: 24.19 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.181e-05/0.01281, allocations: 7.094 kB / 485.9 MB, free: 24.19 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.01281, allocations: 1.188 kB / 485.9 MB, free: 24.19 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-06/0.01282, allocations: 7.266 kB / 485.9 MB, free: 24.18 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.01282, allocations: 1.062 kB / 485.9 MB, free: 24.18 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.01282, allocations: 0 / 485.9 MB, free: 24.18 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003153/0.01598, allocations: 192.6 kB / 486.1 MB, free: 23.99 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.755e-06/0.01599, allocations: 5.484 kB / 486.1 MB, free: 23.99 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.36e-05/0.016, allocations: 5.781 kB / 486.1 MB, free: 23.98 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.367e-05/0.01606, allocations: 2.344 kB / 486.1 MB, free: 23.98 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.602e-05/0.0161, allocations: 7.844 kB / 486.1 MB, free: 23.98 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.0161, allocations: 1.188 kB / 486.1 MB, free: 23.98 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.357e-05/0.01615, allocations: 123.6 kB / 486.2 MB, free: 23.87 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01615, allocations: 0 / 486.2 MB, free: 23.87 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002184/0.01637, allocations: 12.31 kB / 486.2 MB, free: 23.86 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 0.000106/0.01647, allocations: 99.41 kB / 486.3 MB, free: 23.77 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 9.416e-05/0.01657, allocations: 15 kB / 486.4 MB, free: 23.76 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.01657, allocations: 0.6875 kB / 486.4 MB, free: 23.76 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.42e-05/0.01659, allocations: 14.22 kB / 486.4 MB, free: 23.75 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002711/0.01686, allocations: 11.58 kB / 486.4 MB, free: 23.74 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000282/0.01714, allocations: 114.4 kB / 486.5 MB, free: 23.62 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.358e-05/0.01718, allocations: 61.31 kB / 486.6 MB, free: 23.55 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.098e-05/0.01721, allocations: 5.062 kB / 486.6 MB, free: 23.55 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.164e-05/0.01724, allocations: 10.12 kB / 486.6 MB, free: 23.54 MB / 426.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01724, allocations: 1 kB / 486.6 MB, free: 23.54 MB / 426.7 MB Notification: Performance of Templates: time 0.002231/0.01947, allocations: 0.6125 MB / 487.2 MB, free: 23.48 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.7395237842574716]