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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside") translateModel(IBPSA.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 96.59 kB / 16.26 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001049/0.001049, allocations: 188.3 kB / 17.2 MB, free: 5.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7772/0.7772, allocations: 122.9 MB / 413.9 MB, free: 15.8 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001477/0.001477, allocations: 64.14 kB / 0.4911 GB, free: 7.406 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.443/0.4445, allocations: 77.93 MB / 0.5672 GB, free: 32.71 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothHeaviside): time 0.002448/0.447, allocations: 1.42 MB / 0.5686 GB, free: 31.73 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006556/0.4477, allocations: 461.1 kB / 0.569 GB, free: 31.42 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.313e-05/0.4477, allocations: 3.406 kB / 0.569 GB, free: 31.42 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.356e-05/0.4477, allocations: 3.938 kB / 0.569 GB, free: 31.41 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.221e-05/0.4478, allocations: 5.109 kB / 0.569 GB, free: 31.41 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001979/0.448, allocations: 19.7 kB / 0.5691 GB, free: 31.4 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.733e-05/0.4481, allocations: 30.08 kB / 0.5691 GB, free: 31.39 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.874e-05/0.4482, allocations: 3.234 kB / 0.5691 GB, free: 31.39 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.783e-05/0.4483, allocations: 10.02 kB / 0.5691 GB, free: 31.38 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.019e-05/0.4483, allocations: 16.08 kB / 0.5691 GB, free: 31.38 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.183e-05/0.4483, allocations: 9.391 kB / 0.5691 GB, free: 31.37 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.047e-05/0.4484, allocations: 19.33 kB / 0.5691 GB, free: 31.36 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.342e-05/0.4484, allocations: 6.875 kB / 0.5691 GB, free: 31.36 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.526e-05/0.4484, allocations: 7.516 kB / 0.5692 GB, free: 31.36 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 9.867e-05/0.4485, allocations: 35.14 kB / 0.5692 GB, free: 31.34 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.4486, allocations: 0 / 0.5692 GB, free: 31.34 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4486, allocations: 1.406 kB / 0.5692 GB, free: 31.34 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.041e-06/0.4486, allocations: 1.125 kB / 0.5692 GB, free: 31.34 MB / 446.1 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.0003778/0.449, allocations: 344.8 kB / 0.5695 GB, free: 30.98 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.449, allocations: 10.16 kB / 0.5695 GB, free: 30.98 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.966e-05/0.449, allocations: 2.906 kB / 0.5695 GB, free: 30.98 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.08e-05/0.4491, allocations: 171.9 kB / 0.5697 GB, free: 30.78 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.769e-06/0.4491, allocations: 2.406 kB / 0.5697 GB, free: 30.78 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.779e-06/0.4492, allocations: 5.203 kB / 0.5697 GB, free: 30.77 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000172/0.4493, allocations: 62.27 kB / 0.5698 GB, free: 30.73 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.028e-05/0.4494, allocations: 1.062 kB / 0.5698 GB, free: 30.73 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.4494, allocations: 0 / 0.5698 GB, free: 30.73 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.4494, allocations: 1.188 kB / 0.5698 GB, free: 30.73 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000172/0.4496, allocations: 35.02 kB / 0.5698 GB, free: 30.72 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002486/0.4498, allocations: 252.6 kB / 0.57 GB, free: 30.45 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001189/0.4499, allocations: 41.67 kB / 0.5701 GB, free: 30.41 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.563e-05/0.45, allocations: 20.19 kB / 0.5701 GB, free: 30.41 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001052/0.4502, allocations: 87.08 kB / 0.5702 GB, free: 30.31 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.811e-05/0.4502, allocations: 37.92 kB / 0.5702 GB, free: 30.27 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.4502, allocations: 0 / 0.5702 GB, free: 30.27 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003395/0.4505, allocations: 82.89 kB / 0.5703 GB, free: 30.23 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.349e-05/0.4506, allocations: 51.41 kB / 0.5703 GB, free: 30.16 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.396e-05/0.4506, allocations: 105.1 kB / 0.5704 GB, free: 30.06 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.965e-06/0.4506, allocations: 30.92 kB / 0.5705 GB, free: 30.03 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.536e-05/0.4507, allocations: 85.95 kB / 0.5706 GB, free: 29.94 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.462e-05/0.4507, allocations: 3.906 kB / 0.5706 GB, free: 29.94 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.617e-05/0.4507, allocations: 19.36 kB / 0.5706 GB, free: 29.92 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.434e-05/0.4508, allocations: 313.5 kB / 0.5709 GB, free: 29.61 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.145e-05/0.4508, allocations: 18.34 kB / 0.5709 GB, free: 29.6 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.295e-05/0.4509, allocations: 20.09 kB / 0.5709 GB, free: 29.6 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001439/0.4511, allocations: 41.8 kB / 0.571 GB, free: 29.58 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.4511, allocations: 0.5 kB / 0.571 GB, free: 29.58 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000179/0.4513, allocations: 68.88 kB / 0.571 GB, free: 29.54 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.4513, allocations: 7.125 kB / 0.571 GB, free: 29.54 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.4513, allocations: 1.078 kB / 0.571 GB, free: 29.54 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.4513, allocations: 0 / 0.571 GB, free: 29.54 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.426e-05/0.4514, allocations: 14.41 kB / 0.571 GB, free: 29.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.4514, allocations: 0 / 0.571 GB, free: 29.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.765e-05/0.4515, allocations: 12.39 kB / 0.5711 GB, free: 29.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.639e-06/0.4515, allocations: 1.062 kB / 0.5711 GB, free: 29.54 MB / 446.1 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 4.391e-05/0.4515, allocations: 113.1 kB / 0.5712 GB, free: 29.42 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.289e-05/0.4516, allocations: 1.125 kB / 0.5712 GB, free: 29.42 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002138/0.4518, allocations: 73.92 kB / 0.5712 GB, free: 29.38 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.4518, allocations: 0 / 0.5712 GB, free: 29.38 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.748e-06/0.4518, allocations: 2 kB / 0.5712 GB, free: 29.38 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.4518, allocations: 0 / 0.5712 GB, free: 29.38 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000111/0.4519, allocations: 161 kB / 0.5714 GB, free: 29.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.4519, allocations: 0.5 kB / 0.5714 GB, free: 29.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.309e-05/0.452, allocations: 11.2 kB / 0.5714 GB, free: 29.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.452, allocations: 0 / 0.5714 GB, free: 29.18 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.532e-06/0.452, allocations: 1.125 kB / 0.5714 GB, free: 29.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.452, allocations: 8.906 kB / 0.5714 GB, free: 29.18 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.452, allocations: 2.219 kB / 0.5714 GB, free: 29.18 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002039/0.4522, allocations: 164.8 kB / 0.5716 GB, free: 29.04 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.973e-05/0.4523, allocations: 82.77 kB / 0.5716 GB, free: 28.94 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.517e-05/0.4523, allocations: 2.125 kB / 0.5717 GB, free: 28.94 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.348e-05/0.4524, allocations: 9.734 kB / 0.5717 GB, free: 28.93 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.89e-05/0.4524, allocations: 2.828 kB / 0.5717 GB, free: 28.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-06/0.4524, allocations: 1.875 kB / 0.5717 GB, free: 28.93 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.775e-05/0.4524, allocations: 84.97 kB / 0.5717 GB, free: 28.86 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4524, allocations: 0.5625 kB / 0.5717 GB, free: 28.86 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002179/0.4527, allocations: 8.375 kB / 0.5718 GB, free: 28.86 MB / 446.1 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.000124/0.4528, allocations: 98.42 kB / 0.5718 GB, free: 28.77 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002044/0.453, allocations: 45.77 kB / 0.5719 GB, free: 28.75 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.453, allocations: 1.281 kB / 0.5719 GB, free: 28.75 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.403e-05/0.4531, allocations: 20.12 kB / 0.5719 GB, free: 28.75 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002882/0.4534, allocations: 12.97 kB / 0.5719 GB, free: 28.74 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002487/0.4537, allocations: 106.2 kB / 0.572 GB, free: 28.64 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001123/0.4538, allocations: 0.6768 MB / 0.5727 GB, free: 27.94 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.328e-05/0.4538, allocations: 1.953 kB / 0.5727 GB, free: 27.94 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.619e-05/0.4538, allocations: 13.06 kB / 0.5727 GB, free: 27.93 MB / 446.1 MB Notification: Performance of SimCode: time 2.9e-07/0.4538, allocations: 0.8125 kB / 0.5727 GB, free: 27.93 MB / 446.1 MB Notification: Performance of Templates: time 0.002667/0.4565, allocations: 0.5683 MB / 0.5733 GB, free: 27.87 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.makefile (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=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1)