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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.00168/0.00168, allocations: 185.1 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5272/0.5272, allocations: 87.5 MB / 104.9 MB, free: 13.02 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 222.9 MB / 349.1 MB, free: 2.781 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001042/0.001042, allocations: 96.31 kB / 420 MB, free: 8.508 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00112/0.001121, allocations: 59.91 kB / 0.4891 GB, free: 7.707 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3721/0.3732, allocations: 70.07 MB / 0.5575 GB, free: 44.71 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothHeaviside): time 0.002617/0.3759, allocations: 1.488 MB / 0.5589 GB, free: 43.55 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007192/0.3766, allocations: 458.4 kB / 0.5594 GB, free: 43.2 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.654e-05/0.3767, allocations: 1.344 kB / 0.5594 GB, free: 43.2 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.154e-05/0.3767, allocations: 3.938 kB / 0.5594 GB, free: 43.2 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 7.557e-05/0.3768, allocations: 5.484 kB / 0.5594 GB, free: 43.2 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001771/0.377, allocations: 19.91 kB / 0.5594 GB, free: 43.18 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 6.607e-05/0.3771, allocations: 22.33 kB / 0.5594 GB, free: 43.17 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.147e-05/0.3772, allocations: 11.55 kB / 0.5594 GB, free: 43.16 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.979e-05/0.3772, allocations: 11.33 kB / 0.5595 GB, free: 43.16 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.812e-05/0.3773, allocations: 15.42 kB / 0.5595 GB, free: 43.14 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.269e-05/0.3773, allocations: 1.062 kB / 0.5595 GB, free: 43.14 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.831e-05/0.3774, allocations: 21.2 kB / 0.5595 GB, free: 43.13 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.23e-05/0.3774, allocations: 1.125 kB / 0.5595 GB, free: 43.13 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.327e-05/0.3774, allocations: 10.09 kB / 0.5595 GB, free: 43.12 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001045/0.3775, allocations: 36.38 kB / 0.5595 GB, free: 43.1 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.3776, allocations: 0.9375 kB / 0.5595 GB, free: 43.1 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3776, allocations: 0 / 0.5595 GB, free: 43.1 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.107e-06/0.3776, allocations: 0 / 0.5595 GB, free: 43.1 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.0003772/0.378, allocations: 340.2 kB / 0.5599 GB, free: 42.73 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.378, allocations: 12.03 kB / 0.5599 GB, free: 42.71 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.413e-05/0.378, allocations: 8.844 kB / 0.5599 GB, free: 42.71 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.158e-05/0.3781, allocations: 176.3 kB / 0.5601 GB, free: 42.5 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.3781, allocations: 384 / 0.5601 GB, free: 42.5 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.506e-06/0.3782, allocations: 384 / 0.5601 GB, free: 42.5 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001565/0.3783, allocations: 53.98 kB / 0.5601 GB, free: 42.44 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.3783, allocations: 0 / 0.5601 GB, free: 42.44 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.3783, allocations: 0 / 0.5601 GB, free: 42.44 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.3784, allocations: 0 / 0.5601 GB, free: 42.44 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001565/0.3785, allocations: 39.95 kB / 0.5601 GB, free: 42.4 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002727/0.3788, allocations: 244.9 kB / 0.5604 GB, free: 42.11 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001114/0.3789, allocations: 42.53 kB / 0.5604 GB, free: 42.06 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.742e-05/0.379, allocations: 28.84 kB / 0.5604 GB, free: 42.03 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001046/0.3791, allocations: 89.09 kB / 0.5605 GB, free: 41.92 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.763e-05/0.3791, allocations: 30.56 kB / 0.5606 GB, free: 41.88 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 1.623e-06/0.3792, allocations: 0 / 0.5606 GB, free: 41.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003228/0.3795, allocations: 81.64 kB / 0.5606 GB, free: 41.8 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.151e-05/0.3795, allocations: 55.34 kB / 0.5607 GB, free: 41.73 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.494e-05/0.3796, allocations: 102 kB / 0.5608 GB, free: 41.62 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.935e-06/0.3796, allocations: 29.7 kB / 0.5608 GB, free: 41.59 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.891e-05/0.3796, allocations: 88.03 kB / 0.5609 GB, free: 41.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.561e-05/0.3797, allocations: 4 kB / 0.5609 GB, free: 41.49 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.432e-05/0.3797, allocations: 13.72 kB / 0.5609 GB, free: 41.47 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.524e-05/0.3797, allocations: 310.8 kB / 0.5612 GB, free: 41.16 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.43e-05/0.3798, allocations: 15.98 kB / 0.5612 GB, free: 41.14 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.628e-05/0.3799, allocations: 23.98 kB / 0.5612 GB, free: 41.12 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001293/0.38, allocations: 44.77 kB / 0.5613 GB, free: 41.07 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.38, allocations: 0 / 0.5613 GB, free: 41.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001628/0.3802, allocations: 77.42 kB / 0.5614 GB, free: 40.99 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.3802, allocations: 8 kB / 0.5614 GB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.3802, allocations: 0 / 0.5614 GB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.3803, allocations: 4.094 kB / 0.5614 GB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.715e-05/0.3803, allocations: 7.984 kB / 0.5614 GB, free: 40.97 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.3803, allocations: 4 kB / 0.5614 GB, free: 40.97 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.099e-05/0.3804, allocations: 4.25 kB / 0.5614 GB, free: 40.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-06/0.3804, allocations: 0 / 0.5614 GB, free: 40.96 MB / 410.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.075e-05/0.3805, allocations: 109.8 kB / 0.5615 GB, free: 40.85 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.365e-05/0.3805, allocations: 15.98 kB / 0.5615 GB, free: 40.83 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001977/0.3807, allocations: 68.78 kB / 0.5616 GB, free: 40.76 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.3807, allocations: 0 / 0.5616 GB, free: 40.76 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.3807, allocations: 0 / 0.5616 GB, free: 40.76 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.3807, allocations: 0 / 0.5616 GB, free: 40.76 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.74e-05/0.3808, allocations: 161.6 kB / 0.5617 GB, free: 40.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.3808, allocations: 7.922 kB / 0.5617 GB, free: 40.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.87e-05/0.3809, allocations: 4 kB / 0.5617 GB, free: 40.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-06/0.3809, allocations: 0 / 0.5617 GB, free: 40.54 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.3809, allocations: 4 kB / 0.5617 GB, free: 40.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.3809, allocations: 7.969 kB / 0.5618 GB, free: 40.53 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.3809, allocations: 0 / 0.5618 GB, free: 40.53 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003651/0.3813, allocations: 0.7317 MB / 0.5625 GB, free: 39.74 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.745e-05/0.3813, allocations: 81.14 kB / 0.5625 GB, free: 39.64 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.225e-05/0.3813, allocations: 3.984 kB / 0.5625 GB, free: 39.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.781e-05/0.3814, allocations: 4 kB / 0.5626 GB, free: 39.64 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.609e-05/0.3814, allocations: 7.922 kB / 0.5626 GB, free: 39.63 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.3814, allocations: 0 / 0.5626 GB, free: 39.63 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.272e-05/0.3815, allocations: 87.28 kB / 0.5626 GB, free: 39.54 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3815, allocations: 0 / 0.5626 GB, free: 39.54 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000298/0.3818, allocations: 4 kB / 0.5626 GB, free: 39.54 MB / 410.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.000115/0.3819, allocations: 103.2 kB / 0.5627 GB, free: 39.43 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001902/0.3821, allocations: 39.95 kB / 0.5628 GB, free: 39.39 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3821, allocations: 0 / 0.5628 GB, free: 39.39 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.406e-05/0.3822, allocations: 23.92 kB / 0.5628 GB, free: 39.36 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002742/0.3825, allocations: 5.875 kB / 0.5628 GB, free: 39.36 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002707/0.3827, allocations: 222.2 kB / 0.563 GB, free: 39.1 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001056/0.3829, allocations: 0.677 MB / 0.5637 GB, free: 38.4 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.877e-05/0.3829, allocations: 7.938 kB / 0.5637 GB, free: 38.39 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.357e-05/0.3829, allocations: 7.438 kB / 0.5637 GB, free: 38.39 MB / 410.7 MB Notification: Performance of SimCode: time 2e-07/0.3829, allocations: 3.938 kB / 0.5637 GB, free: 38.38 MB / 410.7 MB Notification: Performance of Templates: time 0.002153/0.3851, allocations: 0.4926 MB / 0.5642 GB, free: 37.89 MB / 410.7 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)