Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Utilities.Math.Examples.SmoothHeaviside.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Utilities.Math.Examples.SmoothHeaviside") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002371/0.002371, allocations: 356.7 kB / 15.95 MB, free: 6.207 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.453/1.453, allocations: 165.8 MB / 182.5 MB, free: 5.469 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.638/3.638, allocations: 410.8 MB / 0.5995 GB, free: 15.07 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001765/0.001764, allocations: 197.9 kB / 0.6662 GB, free: 6.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004915/0.0004917, allocations: 12 kB / 0.7423 GB, free: 8.969 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.372/0.3725, allocations: 67.45 MB / 0.8082 GB, free: 28.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothHeaviside): time 0.001987/0.3745, allocations: 1.138 MB / 0.8093 GB, free: 27.64 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001223/0.3758, allocations: 481.2 kB / 0.8097 GB, free: 27.17 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.536e-05/0.3759, allocations: 4 kB / 0.8097 GB, free: 27.16 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.872e-05/0.3759, allocations: 0 / 0.8097 GB, free: 27.16 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 9.245e-05/0.3761, allocations: 3.938 kB / 0.8097 GB, free: 27.16 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002218/0.3763, allocations: 15.98 kB / 0.8097 GB, free: 27.14 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 7.392e-05/0.3764, allocations: 23.92 kB / 0.8098 GB, free: 27.12 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.513e-05/0.3765, allocations: 3.984 kB / 0.8098 GB, free: 27.12 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.626e-05/0.3766, allocations: 11.92 kB / 0.8098 GB, free: 27.11 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.507e-05/0.3767, allocations: 11.94 kB / 0.8098 GB, free: 27.09 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.456e-05/0.3767, allocations: 0 / 0.8098 GB, free: 27.09 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001026/0.3768, allocations: 23.98 kB / 0.8098 GB, free: 27.07 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.291e-05/0.3769, allocations: 3.984 kB / 0.8098 GB, free: 27.07 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.729e-05/0.3769, allocations: 25.7 kB / 0.8098 GB, free: 27.04 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001044/0.377, allocations: 23.95 kB / 0.8099 GB, free: 27.01 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.213e-06/0.3771, allocations: 0 / 0.8099 GB, free: 27.01 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.947e-06/0.3771, allocations: 0 / 0.8099 GB, free: 27.01 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.352e-05/0.3771, allocations: 3.938 kB / 0.8099 GB, free: 27.01 MB / 378.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.0005363/0.3777, allocations: 349.4 kB / 0.8102 GB, free: 26.62 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.3777, allocations: 12.03 kB / 0.8102 GB, free: 26.61 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.242e-05/0.3778, allocations: 0 / 0.8102 GB, free: 26.61 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/0.3779, allocations: 171 kB / 0.8104 GB, free: 26.4 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.58e-05/0.378, allocations: 4 kB / 0.8104 GB, free: 26.4 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.798e-05/0.378, allocations: 0 / 0.8104 GB, free: 26.4 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002474/0.3783, allocations: 61.61 kB / 0.8104 GB, free: 26.33 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.3783, allocations: 0 / 0.8104 GB, free: 26.33 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.3783, allocations: 4 kB / 0.8104 GB, free: 26.33 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.624e-06/0.3783, allocations: 0 / 0.8104 GB, free: 26.33 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002832/0.3786, allocations: 43.95 kB / 0.8105 GB, free: 26.29 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000377/0.379, allocations: 252.9 kB / 0.8107 GB, free: 25.99 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002061/0.3793, allocations: 46.5 kB / 0.8108 GB, free: 25.93 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001525/0.3794, allocations: 28.91 kB / 0.8108 GB, free: 25.9 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001493/0.3796, allocations: 85.09 kB / 0.8109 GB, free: 25.8 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.232e-05/0.3796, allocations: 34.56 kB / 0.8109 GB, free: 25.76 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 2.719e-06/0.3797, allocations: 0 / 0.8109 GB, free: 25.76 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.0006041/0.3803, allocations: 105.5 kB / 0.811 GB, free: 25.65 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.588e-05/0.3803, allocations: 59.39 kB / 0.8111 GB, free: 25.58 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.936e-05/0.3804, allocations: 97.86 kB / 0.8112 GB, free: 25.47 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.431e-05/0.3805, allocations: 25.7 kB / 0.8112 GB, free: 25.44 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.193e-05/0.3805, allocations: 80.14 kB / 0.8113 GB, free: 25.36 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.738e-05/0.3806, allocations: 15.89 kB / 0.8113 GB, free: 25.34 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.759e-06/0.3806, allocations: 0 / 0.8113 GB, free: 25.34 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.098e-05/0.3807, allocations: 310.8 kB / 0.8116 GB, free: 25.03 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001704/0.3809, allocations: 28.02 kB / 0.8116 GB, free: 25 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000158/0.3811, allocations: 15.98 kB / 0.8116 GB, free: 24.99 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001716/0.3813, allocations: 32.03 kB / 0.8117 GB, free: 24.96 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.131e-06/0.3813, allocations: 0 / 0.8117 GB, free: 24.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003932/0.3817, allocations: 77.56 kB / 0.8117 GB, free: 24.88 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/0.3817, allocations: 4 kB / 0.8117 GB, free: 24.87 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.787e-06/0.3817, allocations: 0 / 0.8117 GB, free: 24.87 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.3818, allocations: 8.031 kB / 0.8117 GB, free: 24.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001451/0.3819, allocations: 15.92 kB / 0.8118 GB, free: 24.85 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.804e-06/0.382, allocations: 0 / 0.8118 GB, free: 24.85 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.333e-05/0.3821, allocations: 7.984 kB / 0.8118 GB, free: 24.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.245e-05/0.3821, allocations: 4 kB / 0.8118 GB, free: 24.84 MB / 378.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.373e-05/0.3822, allocations: 113.3 kB / 0.8119 GB, free: 24.72 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.316e-05/0.3823, allocations: 7.953 kB / 0.8119 GB, free: 24.71 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003936/0.3827, allocations: 76.78 kB / 0.812 GB, free: 24.62 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.906e-06/0.3827, allocations: 0 / 0.812 GB, free: 24.62 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.162e-06/0.3827, allocations: 4 kB / 0.812 GB, free: 24.62 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.027e-06/0.3828, allocations: 3.938 kB / 0.812 GB, free: 24.62 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002568/0.383, allocations: 165.6 kB / 0.8121 GB, free: 24.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.121e-06/0.3831, allocations: 0 / 0.8121 GB, free: 24.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001165/0.3832, allocations: 11.98 kB / 0.8121 GB, free: 24.39 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.919e-06/0.3832, allocations: 0 / 0.8121 GB, free: 24.39 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.3832, allocations: 7.953 kB / 0.8121 GB, free: 24.39 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.014e-06/0.3833, allocations: 4.25 kB / 0.8121 GB, free: 24.38 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.79e-06/0.3833, allocations: 4 kB / 0.8121 GB, free: 24.38 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003862/0.3837, allocations: 167.5 kB / 0.8123 GB, free: 24.2 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.691e-05/0.3837, allocations: 77.11 kB / 0.8124 GB, free: 24.11 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.435e-05/0.3838, allocations: 4 kB / 0.8124 GB, free: 24.1 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001835/0.384, allocations: 15.94 kB / 0.8124 GB, free: 24.09 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.975e-05/0.384, allocations: 4.031 kB / 0.8124 GB, free: 24.08 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.083e-05/0.3841, allocations: 4 kB / 0.8124 GB, free: 24.08 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.541e-05/0.3841, allocations: 83.27 kB / 0.8125 GB, free: 24 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.152e-06/0.3841, allocations: 0 / 0.8125 GB, free: 24 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005855/0.3847, allocations: 4 kB / 0.8125 GB, free: 23.99 MB / 378.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001798/0.3849, allocations: 107.1 kB / 0.8126 GB, free: 23.88 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003962/0.3854, allocations: 51.97 kB / 0.8126 GB, free: 23.83 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.766e-06/0.3854, allocations: 0 / 0.8126 GB, free: 23.83 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001691/0.3856, allocations: 23.97 kB / 0.8127 GB, free: 23.8 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005914/0.3862, allocations: 14.78 kB / 0.8127 GB, free: 23.79 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003627/0.3866, allocations: 112.6 kB / 0.8128 GB, free: 23.66 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003048/0.3869, allocations: 0.6848 MB / 0.8135 GB, free: 22.95 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.26e-05/0.387, allocations: 0 / 0.8135 GB, free: 22.95 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.625e-05/0.387, allocations: 11.38 kB / 0.8135 GB, free: 22.93 MB / 378.7 MB Notification: Performance of SimCode: time 1.876e-06/0.3871, allocations: 0 / 0.8135 GB, free: 22.93 MB / 378.7 MB Notification: Performance of Templates: time 0.003142/0.3902, allocations: 493.9 kB / 0.8139 GB, free: 22.46 MB / 378.7 MB