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.0009762/0.0009762, allocations: 92.11 kB / 20.43 MB, free: 4.141 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.0009834/0.0009834, 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 1.013/1.013, allocations: 177.1 MB / 204.2 MB, free: 5.609 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.6242/0.6242, allocations: 115 MB / 375.7 MB, free: 7.645 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.513e-06/1.513e-06, allocations: 0 / 481.5 MB, free: 11.84 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.691e-05/2.842e-05, allocations: 6.891 kB / 481.5 MB, free: 11.84 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothHeaviside): time 0.001954/0.001983, allocations: 1.484 MB / 483 MB, free: 10.86 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006734/0.002656, allocations: 0.4938 MB / 483.5 MB, free: 10.54 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.228e-05/0.002688, allocations: 4.219 kB / 483.5 MB, free: 10.54 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.6e-05/0.002714, allocations: 0 / 483.5 MB, free: 10.54 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 6.926e-05/0.002784, allocations: 8.438 kB / 483.5 MB, free: 10.53 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002287/0.003012, allocations: 18.77 kB / 483.5 MB, free: 10.52 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 6.661e-05/0.003079, allocations: 26.95 kB / 483.6 MB, free: 10.51 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.64e-05/0.003155, allocations: 3.984 kB / 483.6 MB, free: 10.51 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.843e-05/0.003224, allocations: 21.38 kB / 483.6 MB, free: 10.5 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.167e-05/0.003255, allocations: 11.75 kB / 483.6 MB, free: 10.49 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.286e-05/0.003268, allocations: 1.875 kB / 483.6 MB, free: 10.49 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.02e-05/0.003329, allocations: 12.81 kB / 483.6 MB, free: 10.49 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.37e-05/0.003342, allocations: 4.516 kB / 483.6 MB, free: 10.49 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.753e-05/0.00336, allocations: 7.219 kB / 483.6 MB, free: 10.48 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 9.894e-05/0.003459, allocations: 31.78 kB / 483.6 MB, free: 10.47 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.345e-06/0.003461, allocations: 1.875 kB / 483.7 MB, free: 10.47 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.003462, allocations: 0 / 483.7 MB, free: 10.47 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.027e-06/0.003466, allocations: 0 / 483.7 MB, free: 10.47 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.0002562/0.003722, allocations: 364.9 kB / 484 MB, free: 10.1 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.365e-05/0.003756, allocations: 9.531 kB / 484 MB, free: 10.1 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001996/0.003955, allocations: 24.94 kB / 484 MB, free: 10.09 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.042e-05/0.004016, allocations: 108.4 kB / 484.1 MB, free: 9.961 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.055e-05/0.004026, allocations: 5.438 kB / 484.2 MB, free: 9.957 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.728e-06/0.004036, allocations: 5.484 kB / 484.2 MB, free: 9.953 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001086/0.004145, allocations: 54.41 kB / 484.2 MB, free: 9.906 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.42e-06/0.00415, allocations: 0.875 kB / 484.2 MB, free: 9.906 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/0.004159, allocations: 1.438 kB / 484.2 MB, free: 9.906 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.004165, allocations: 5.719 kB / 484.2 MB, free: 9.902 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.086e-05/0.004196, allocations: 12.28 kB / 484.2 MB, free: 9.898 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004243/0.00462, allocations: 249.2 kB / 484.5 MB, free: 25.64 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.829e-05/0.004678, allocations: 36.72 kB / 484.5 MB, free: 25.6 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.06e-05/0.004699, allocations: 11.06 kB / 484.5 MB, free: 25.59 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.718e-05/0.004716, allocations: 0.9375 kB / 484.5 MB, free: 25.59 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.89e-05/0.004735, allocations: 43.58 kB / 484.6 MB, free: 25.54 MB / 426.7 MB Notification: Performance of pre-optimization done (n=2): time 1.173e-06/0.004736, allocations: 0.9688 kB / 484.6 MB, free: 25.54 MB / 426.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001533/0.004889, allocations: 45.56 kB / 484.6 MB, free: 25.5 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.039e-05/0.00491, allocations: 56.44 kB / 484.7 MB, free: 25.43 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.482e-05/0.004975, allocations: 163.1 kB / 484.8 MB, free: 25.27 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.582e-06/0.004981, allocations: 25.7 kB / 484.8 MB, free: 25.23 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.153e-05/0.005023, allocations: 132.5 kB / 485 MB, free: 25.1 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.553e-05/0.005038, allocations: 14.11 kB / 485 MB, free: 25.09 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.927e-05/0.005068, allocations: 21.77 kB / 485 MB, free: 25.07 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.005188, allocations: 496.9 kB / 485.5 MB, free: 24.57 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.806e-05/0.005206, allocations: 4.094 kB / 485.5 MB, free: 24.57 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.311e-05/0.005219, allocations: 3.625 kB / 485.5 MB, free: 24.57 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.673e-05/0.005256, allocations: 17.47 kB / 485.5 MB, free: 24.56 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.005258, allocations: 0 / 485.5 MB, free: 24.56 MB / 426.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.437e-05/0.005322, allocations: 45.8 kB / 485.6 MB, free: 24.52 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.005337, allocations: 9.281 kB / 485.6 MB, free: 24.52 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.005341, allocations: 0 / 485.6 MB, free: 24.52 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.005352, allocations: 0.8438 kB / 485.6 MB, free: 24.52 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.717e-05/0.005429, allocations: 8.984 kB / 485.6 MB, free: 24.52 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.005433, allocations: 0.8125 kB / 485.6 MB, free: 24.52 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.617e-05/0.005459, allocations: 4.156 kB / 485.6 MB, free: 24.52 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.005465, allocations: 4.312 kB / 485.6 MB, free: 24.52 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.657e-05/0.005532, allocations: 154.1 kB / 485.7 MB, free: 24.36 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.714e-05/0.005549, allocations: 8.156 kB / 485.8 MB, free: 24.35 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.37e-05/0.005582, allocations: 7.562 kB / 485.8 MB, free: 24.34 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.818e-06/0.005586, allocations: 2.781 kB / 485.8 MB, free: 24.34 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.00559, allocations: 4 kB / 485.8 MB, free: 24.34 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.005593, allocations: 0 / 485.8 MB, free: 24.34 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.606e-05/0.005669, allocations: 122.4 kB / 485.9 MB, free: 24.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.00567, allocations: 0 / 485.9 MB, free: 24.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.179e-05/0.005701, allocations: 9.766 kB / 485.9 MB, free: 24.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.005703, allocations: 0 / 485.9 MB, free: 24.2 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-06/0.00571, allocations: 5.906 kB / 485.9 MB, free: 24.19 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.552e-06/0.005712, allocations: 0 / 485.9 MB, free: 24.19 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.005713, allocations: 0 / 485.9 MB, free: 24.19 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001153/0.005828, allocations: 197.1 kB / 486.1 MB, free: 24 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.442e-06/0.005835, allocations: 1.375 kB / 486.1 MB, free: 24 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.076e-05/0.005845, allocations: 6.156 kB / 486.1 MB, free: 23.99 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.755e-05/0.005883, allocations: 6 kB / 486.1 MB, free: 23.99 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.915e-05/0.005912, allocations: 2.344 kB / 486.1 MB, free: 23.99 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.005916, allocations: 1.062 kB / 486.1 MB, free: 23.99 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.977e-05/0.005956, allocations: 130.5 kB / 486.2 MB, free: 23.87 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005956, allocations: 1.406 kB / 486.2 MB, free: 23.87 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00013/0.006086, allocations: 7.781 kB / 486.2 MB, free: 23.87 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 6.982e-05/0.006155, allocations: 92.62 kB / 486.3 MB, free: 23.78 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 7.581e-05/0.006231, allocations: 16.25 kB / 486.4 MB, free: 23.77 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.006233, allocations: 0 / 486.4 MB, free: 23.77 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.888e-05/0.006252, allocations: 20.86 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.0001722/0.006424, allocations: 9.375 kB / 486.4 MB, free: 23.75 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002124/0.006636, allocations: 117.7 kB / 486.5 MB, free: 23.63 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.332e-05/0.00666, allocations: 53.67 kB / 486.6 MB, free: 23.56 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.175e-05/0.006691, allocations: 11.58 kB / 486.6 MB, free: 23.56 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.593e-05/0.006717, allocations: 9.719 kB / 486.6 MB, free: 23.55 MB / 426.7 MB Notification: Performance of SimCode: time 6.51e-07/0.006718, allocations: 0 / 486.6 MB, free: 23.55 MB / 426.7 MB Notification: Performance of Templates: time 0.002215/0.008933, allocations: 0.6441 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.5531205548904836]