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.003929/0.003934, allocations: 356.5 kB / 16.59 MB, free: 5.562 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.417/1.417, allocations: 165.8 MB / 183.1 MB, free: 5.461 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.912/3.912, allocations: 410.8 MB / 0.6001 GB, free: 15.16 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.002333/0.002333, allocations: 197.8 kB / 0.6668 GB, free: 6.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004439/0.0004441, allocations: 16 kB / 0.7429 GB, free: 8.957 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4426/0.4431, allocations: 67.45 MB / 0.8087 GB, free: 28.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothHeaviside): time 0.001547/0.4447, allocations: 1.138 MB / 0.8099 GB, free: 27.64 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008114/0.4456, allocations: 485.2 kB / 0.8103 GB, free: 27.16 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.082e-05/0.4456, allocations: 0 / 0.8103 GB, free: 27.16 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.35e-05/0.4456, allocations: 4 kB / 0.8103 GB, free: 27.16 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 6.608e-05/0.4457, allocations: 3.938 kB / 0.8103 GB, free: 27.16 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001698/0.4459, allocations: 15.97 kB / 0.8103 GB, free: 27.14 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 6.118e-05/0.446, allocations: 19.92 kB / 0.8104 GB, free: 27.12 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.464e-05/0.4461, allocations: 8 kB / 0.8104 GB, free: 27.11 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.451e-05/0.4461, allocations: 11.94 kB / 0.8104 GB, free: 27.1 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.074e-05/0.4462, allocations: 11.98 kB / 0.8104 GB, free: 27.09 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.054e-05/0.4462, allocations: 0 / 0.8104 GB, free: 27.09 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.05e-05/0.4463, allocations: 15.92 kB / 0.8104 GB, free: 27.07 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.888e-06/0.4463, allocations: 7.984 kB / 0.8104 GB, free: 27.07 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 1.939e-05/0.4463, allocations: 29.7 kB / 0.8104 GB, free: 27.03 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 7.409e-05/0.4464, allocations: 19.95 kB / 0.8105 GB, free: 27.01 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.4464, allocations: 4 kB / 0.8105 GB, free: 27.01 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.454e-06/0.4464, allocations: 0 / 0.8105 GB, free: 27.01 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.547e-06/0.4465, allocations: 3.938 kB / 0.8105 GB, free: 27 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.0004032/0.4469, allocations: 345.4 kB / 0.8108 GB, free: 26.62 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.4469, allocations: 8.031 kB / 0.8108 GB, free: 26.61 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.81e-05/0.447, allocations: 4 kB / 0.8108 GB, free: 26.61 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.115e-05/0.447, allocations: 167 kB / 0.811 GB, free: 26.41 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.4471, allocations: 0 / 0.811 GB, free: 26.41 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.587e-05/0.4471, allocations: 8 kB / 0.811 GB, free: 26.4 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002236/0.4473, allocations: 57.62 kB / 0.811 GB, free: 26.34 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.4474, allocations: 0 / 0.811 GB, free: 26.34 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.4474, allocations: 4 kB / 0.811 GB, free: 26.33 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.4474, allocations: 0 / 0.811 GB, free: 26.33 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002718/0.4477, allocations: 47.95 kB / 0.8111 GB, free: 26.29 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002796/0.448, allocations: 241 kB / 0.8113 GB, free: 26 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001776/0.4482, allocations: 54.44 kB / 0.8114 GB, free: 25.94 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001422/0.4483, allocations: 28.91 kB / 0.8114 GB, free: 25.91 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000136/0.4485, allocations: 81.11 kB / 0.8115 GB, free: 25.81 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.818e-05/0.4485, allocations: 30.56 kB / 0.8115 GB, free: 25.77 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 2.334e-06/0.4485, allocations: 7.922 kB / 0.8115 GB, free: 25.76 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.0005085/0.449, allocations: 109.5 kB / 0.8116 GB, free: 25.65 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.767e-05/0.449, allocations: 51.41 kB / 0.8117 GB, free: 25.59 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.889e-05/0.4491, allocations: 105.8 kB / 0.8118 GB, free: 25.47 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.106e-05/0.4491, allocations: 25.7 kB / 0.8118 GB, free: 25.44 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.99e-05/0.4492, allocations: 80.14 kB / 0.8119 GB, free: 25.36 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.614e-05/0.4492, allocations: 8.031 kB / 0.8119 GB, free: 25.35 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.148e-06/0.4492, allocations: 0 / 0.8119 GB, free: 25.35 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.044e-05/0.4493, allocations: 322.8 kB / 0.8122 GB, free: 25.03 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001355/0.4494, allocations: 15.98 kB / 0.8122 GB, free: 25.01 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001315/0.4496, allocations: 27.98 kB / 0.8122 GB, free: 24.98 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001615/0.4497, allocations: 15.98 kB / 0.8122 GB, free: 24.97 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.4498, allocations: 0 / 0.8122 GB, free: 24.97 MB / 378.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003134/0.4501, allocations: 89.67 kB / 0.8123 GB, free: 24.88 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.4501, allocations: 4 kB / 0.8123 GB, free: 24.87 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.4501, allocations: 0 / 0.8123 GB, free: 24.87 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.4501, allocations: 0 / 0.8123 GB, free: 24.87 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001198/0.4503, allocations: 19.86 kB / 0.8123 GB, free: 24.85 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.4503, allocations: 0 / 0.8123 GB, free: 24.85 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.988e-05/0.4504, allocations: 11.98 kB / 0.8124 GB, free: 24.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.4504, allocations: 0 / 0.8124 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.713e-05/0.4505, allocations: 113.9 kB / 0.8125 GB, free: 24.72 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.743e-05/0.4506, allocations: 3.953 kB / 0.8125 GB, free: 24.71 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004923/0.4511, allocations: 80.78 kB / 0.8125 GB, free: 24.62 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.4511, allocations: 4.281 kB / 0.8126 GB, free: 24.62 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.4511, allocations: 0 / 0.8126 GB, free: 24.62 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.378e-05/0.4511, allocations: 85.02 kB / 0.8126 GB, free: 24.52 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.68e-05/0.4512, allocations: 7.984 kB / 0.8126 GB, free: 24.51 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001158/0.4513, allocations: 4 kB / 0.8126 GB, free: 24.51 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.186e-05/0.4513, allocations: 0 / 0.8126 GB, free: 24.51 MB / 378.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000376/0.4517, allocations: 176.8 kB / 0.8128 GB, free: 24.33 MB / 378.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003434/0.4521, allocations: 250.8 kB / 0.8131 GB, free: 24.07 MB / 378.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001478/0.4522, allocations: 19.98 kB / 0.8131 GB, free: 24.05 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.889e-05/0.4523, allocations: 87.27 kB / 0.8132 GB, free: 23.96 MB / 378.7 MB Notification: Performance of Backend: time 2.103e-06/0.4523, allocations: 0 / 0.8132 GB, free: 23.96 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005174/0.4528, allocations: 109.2 kB / 0.8133 GB, free: 23.85 MB / 378.7 MB Notification: Performance of SimCode: time 0.0004674/0.4533, allocations: 0.5527 MB / 0.8138 GB, free: 23.25 MB / 378.7 MB Notification: Performance of Templates: time 0.003331/0.4567, allocations: 0.5656 MB / 0.8143 GB, free: 22.69 MB / 378.7 MB