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.001229/0.001229, allocations: 102.2 kB / 15.98 MB, free: 6.34 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.001321/0.001321, allocations: 201.4 kB / 16.91 MB, free: 6.188 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.369/1.369, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7786/0.7786, allocations: 126 MB / 416.8 MB, free: 12.99 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 67.89 kB / 0.4945 GB, free: 3.824 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3777/0.379, allocations: 78.7 MB / 0.5713 GB, free: 31.28 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothHeaviside): time 0.002658/0.3817, allocations: 1.492 MB / 0.5728 GB, free: 30.25 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007598/0.3825, allocations: 462.2 kB / 0.5732 GB, free: 29.93 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.378e-05/0.3825, allocations: 0 / 0.5732 GB, free: 29.93 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.474e-05/0.3826, allocations: 1.312 kB / 0.5732 GB, free: 29.93 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.632e-05/0.3827, allocations: 5.625 kB / 0.5732 GB, free: 29.93 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002109/0.3829, allocations: 23.78 kB / 0.5732 GB, free: 29.92 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.486e-05/0.383, allocations: 29.66 kB / 0.5733 GB, free: 29.9 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.879e-05/0.3831, allocations: 5.281 kB / 0.5733 GB, free: 29.9 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.382e-05/0.3831, allocations: 8.859 kB / 0.5733 GB, free: 29.9 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.738e-05/0.3832, allocations: 14.83 kB / 0.5733 GB, free: 29.89 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.38e-05/0.3832, allocations: 2.281 kB / 0.5733 GB, free: 29.89 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.324e-05/0.3833, allocations: 26.59 kB / 0.5733 GB, free: 29.88 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.374e-05/0.3833, allocations: 7.812 kB / 0.5733 GB, free: 29.88 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.342e-05/0.3833, allocations: 6.672 kB / 0.5733 GB, free: 29.87 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001095/0.3835, allocations: 30.45 kB / 0.5734 GB, free: 29.86 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.706e-06/0.3835, allocations: 2.062 kB / 0.5734 GB, free: 29.86 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.3835, allocations: 0 / 0.5734 GB, free: 29.86 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.3835, allocations: 0.7812 kB / 0.5734 GB, free: 29.86 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.000379/0.3839, allocations: 341.1 kB / 0.5737 GB, free: 29.5 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.3839, allocations: 10.81 kB / 0.5737 GB, free: 29.5 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.844e-05/0.384, allocations: 6.281 kB / 0.5737 GB, free: 29.5 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.677e-05/0.3841, allocations: 172 kB / 0.5739 GB, free: 29.3 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.3841, allocations: 2.531 kB / 0.5739 GB, free: 29.3 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.356e-06/0.3841, allocations: 384 / 0.5739 GB, free: 29.3 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001742/0.3843, allocations: 60.12 kB / 0.5739 GB, free: 29.25 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.3843, allocations: 0 / 0.5739 GB, free: 29.25 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.3843, allocations: 0 / 0.5739 GB, free: 29.25 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.3843, allocations: 2.406 kB / 0.5739 GB, free: 29.25 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001722/0.3845, allocations: 37.5 kB / 0.574 GB, free: 29.25 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003016/0.3848, allocations: 252.5 kB / 0.5742 GB, free: 28.97 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001294/0.3849, allocations: 42.33 kB / 0.5743 GB, free: 28.94 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.779e-05/0.385, allocations: 27.83 kB / 0.5743 GB, free: 28.92 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001144/0.3852, allocations: 84.73 kB / 0.5744 GB, free: 28.83 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.857e-05/0.3852, allocations: 33.17 kB / 0.5744 GB, free: 28.79 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.3852, allocations: 0 / 0.5744 GB, free: 28.79 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003485/0.3855, allocations: 81.81 kB / 0.5745 GB, free: 28.75 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.696e-05/0.3856, allocations: 52.53 kB / 0.5745 GB, free: 28.69 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.545e-05/0.3856, allocations: 102.7 kB / 0.5746 GB, free: 28.59 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.636e-06/0.3857, allocations: 26.8 kB / 0.5746 GB, free: 28.55 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.623e-05/0.3857, allocations: 82.86 kB / 0.5747 GB, free: 28.47 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.531e-05/0.3857, allocations: 5.828 kB / 0.5747 GB, free: 28.47 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.438e-05/0.3858, allocations: 17.38 kB / 0.5747 GB, free: 28.45 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.915e-05/0.3858, allocations: 317.1 kB / 0.5751 GB, free: 28.13 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.649e-05/0.3859, allocations: 26.58 kB / 0.5751 GB, free: 28.12 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.528e-05/0.386, allocations: 16.55 kB / 0.5751 GB, free: 28.12 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001502/0.3862, allocations: 43.61 kB / 0.5751 GB, free: 28.11 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.3862, allocations: 0 / 0.5751 GB, free: 28.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000188/0.3864, allocations: 68.59 kB / 0.5752 GB, free: 28.07 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.3864, allocations: 5.594 kB / 0.5752 GB, free: 28.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.3864, allocations: 0.5156 kB / 0.5752 GB, free: 28.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.3864, allocations: 1.281 kB / 0.5752 GB, free: 28.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.896e-05/0.3865, allocations: 15.47 kB / 0.5752 GB, free: 28.06 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.3865, allocations: 0 / 0.5752 GB, free: 28.06 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.687e-05/0.3866, allocations: 10.95 kB / 0.5752 GB, free: 28.06 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-06/0.3866, allocations: 1.875 kB / 0.5752 GB, free: 28.06 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 5.751e-05/0.3866, allocations: 113.4 kB / 0.5753 GB, free: 27.94 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.295e-05/0.3867, allocations: 0.6875 kB / 0.5753 GB, free: 27.94 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00023/0.3869, allocations: 75.86 kB / 0.5754 GB, free: 27.9 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.3869, allocations: 1.656 kB / 0.5754 GB, free: 27.9 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.3869, allocations: 256 / 0.5754 GB, free: 27.9 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.3869, allocations: 2.859 kB / 0.5754 GB, free: 27.9 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001204/0.3871, allocations: 163 kB / 0.5756 GB, free: 27.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.3871, allocations: 3.984 kB / 0.5756 GB, free: 27.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.785e-05/0.3871, allocations: 10.11 kB / 0.5756 GB, free: 27.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.3872, allocations: 1.5 kB / 0.5756 GB, free: 27.7 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/0.3872, allocations: 0 / 0.5756 GB, free: 27.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.3872, allocations: 2.531 kB / 0.5756 GB, free: 27.7 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.3872, allocations: 0.7031 kB / 0.5756 GB, free: 27.7 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002158/0.3874, allocations: 167.9 kB / 0.5758 GB, free: 27.55 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.931e-05/0.3874, allocations: 83.84 kB / 0.5758 GB, free: 27.45 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.32e-05/0.3874, allocations: 2.312 kB / 0.5758 GB, free: 27.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.758e-05/0.3875, allocations: 6.625 kB / 0.5758 GB, free: 27.45 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.556e-05/0.3876, allocations: 3 kB / 0.5758 GB, free: 27.45 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-06/0.3876, allocations: 1.375 kB / 0.5758 GB, free: 27.45 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.803e-05/0.3876, allocations: 85.19 kB / 0.5759 GB, free: 27.38 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.3876, allocations: 0 / 0.5759 GB, free: 27.38 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002298/0.3879, allocations: 11 kB / 0.5759 GB, free: 27.37 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.00014/0.388, allocations: 100 kB / 0.576 GB, free: 27.28 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002202/0.3883, allocations: 43.91 kB / 0.5761 GB, free: 27.27 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.3883, allocations: 4.5 kB / 0.5761 GB, free: 27.27 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.596e-05/0.3884, allocations: 20.62 kB / 0.5761 GB, free: 27.27 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002987/0.3887, allocations: 16.97 kB / 0.5761 GB, free: 27.25 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002495/0.3889, allocations: 111.1 kB / 0.5762 GB, free: 27.14 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001066/0.389, allocations: 0.677 MB / 0.5769 GB, free: 26.45 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.732e-05/0.3891, allocations: 3.484 kB / 0.5769 GB, free: 26.45 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.867e-05/0.3891, allocations: 12.56 kB / 0.5769 GB, free: 26.43 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3891, allocations: 0.6562 kB / 0.5769 GB, free: 26.43 MB / 446.1 MB Notification: Performance of Templates: time 0.00265/0.3918, allocations: 0.501 MB / 0.5774 GB, free: 26.39 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)