Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.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.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003788/0.003788, allocations: 359.3 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.597/1.597, allocations: 165.8 MB / 183.1 MB, free: 5.414 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.698/3.698, allocations: 410.7 MB / 0.6001 GB, free: 15.18 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.001771/0.00177, allocations: 187.5 kB / 0.6668 GB, free: 6.938 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004611/0.0004613, allocations: 12 kB / 0.7429 GB, free: 8.953 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4257/0.4262, allocations: 67.44 MB / 0.8088 GB, free: 28.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.0007246/0.427, allocations: 311.3 kB / 0.8091 GB, free: 28.49 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001375/0.4284, allocations: 1.106 MB / 0.8101 GB, free: 27.36 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.208e-05/0.4284, allocations: 3.938 kB / 0.8101 GB, free: 27.36 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 9.969e-06/0.4284, allocations: 0 / 0.8101 GB, free: 27.36 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002032/0.4287, allocations: 11.98 kB / 0.8102 GB, free: 27.35 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.655e-06/0.4287, allocations: 0 / 0.8102 GB, free: 27.35 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 3.594e-05/0.4287, allocations: 11.92 kB / 0.8102 GB, free: 27.34 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.528e-05/0.4288, allocations: 8 kB / 0.8102 GB, free: 27.33 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.304e-05/0.4288, allocations: 0 / 0.8102 GB, free: 27.33 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.248e-05/0.4288, allocations: 0 / 0.8102 GB, free: 27.33 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.872e-06/0.4288, allocations: 0 / 0.8102 GB, free: 27.33 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.932e-05/0.4289, allocations: 19.92 kB / 0.8102 GB, free: 27.31 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.488e-06/0.429, allocations: 0 / 0.8102 GB, free: 27.31 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 1.319e-05/0.429, allocations: 29.7 kB / 0.8102 GB, free: 27.27 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 5.21e-05/0.429, allocations: 11.97 kB / 0.8102 GB, free: 27.26 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.4291, allocations: 3.938 kB / 0.8102 GB, free: 27.26 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.4291, allocations: 0 / 0.8102 GB, free: 27.26 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.877e-06/0.4291, allocations: 0 / 0.8102 GB, free: 27.26 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.0001973/0.4293, allocations: 323.3 kB / 0.8105 GB, free: 26.89 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.4293, allocations: 8.031 kB / 0.8105 GB, free: 26.89 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.867e-05/0.4294, allocations: 0 / 0.8105 GB, free: 26.89 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.363e-05/0.4295, allocations: 163 kB / 0.8107 GB, free: 26.69 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.688e-06/0.4295, allocations: 4 kB / 0.8107 GB, free: 26.68 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.478e-05/0.4295, allocations: 4 kB / 0.8107 GB, free: 26.68 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.128e-05/0.4296, allocations: 37.64 kB / 0.8107 GB, free: 26.64 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.4296, allocations: 0 / 0.8107 GB, free: 26.64 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.778e-06/0.4296, allocations: 0 / 0.8107 GB, free: 26.64 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.4297, allocations: 4 kB / 0.8108 GB, free: 26.63 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.935e-05/0.4297, allocations: 8 kB / 0.8108 GB, free: 26.62 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001194/0.4298, allocations: 155.7 kB / 0.8109 GB, free: 26.43 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001978/0.43, allocations: 42.55 kB / 0.8109 GB, free: 26.38 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.272e-05/0.4301, allocations: 8.859 kB / 0.811 GB, free: 26.36 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000145/0.4302, allocations: 81.11 kB / 0.811 GB, free: 26.27 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.163e-05/0.4303, allocations: 38.64 kB / 0.8111 GB, free: 26.22 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.563e-06/0.4303, allocations: 0 / 0.8111 GB, free: 26.22 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.007094/0.4374, allocations: 0.5718 MB / 0.8116 GB, free: 25.64 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.019e-05/0.4375, allocations: 55.41 kB / 0.8117 GB, free: 25.57 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.231e-05/0.4375, allocations: 89.86 kB / 0.8118 GB, free: 25.48 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.152e-05/0.4375, allocations: 25.7 kB / 0.8118 GB, free: 25.45 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.448e-05/0.4375, allocations: 80.14 kB / 0.8119 GB, free: 25.36 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.568e-05/0.4376, allocations: 15.75 kB / 0.8119 GB, free: 25.35 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.602e-05/0.4376, allocations: 0 / 0.8119 GB, free: 25.35 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.218e-05/0.4377, allocations: 318.8 kB / 0.8122 GB, free: 25.03 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001021/0.4387, allocations: 75.95 kB / 0.8123 GB, free: 24.95 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001073/0.4398, allocations: 110.5 kB / 0.8124 GB, free: 24.84 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00103/0.4408, allocations: 91.89 kB / 0.8125 GB, free: 24.75 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.4409, allocations: 0 / 0.8125 GB, free: 24.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.002153/0.443, allocations: 205.6 kB / 0.8126 GB, free: 24.54 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.4431, allocations: 4 kB / 0.8127 GB, free: 24.54 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.4431, allocations: 8.047 kB / 0.8127 GB, free: 24.53 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.4431, allocations: 7.953 kB / 0.8127 GB, free: 24.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006776/0.4438, allocations: 47.97 kB / 0.8127 GB, free: 24.47 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.4438, allocations: 0 / 0.8127 GB, free: 24.47 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005911/0.4444, allocations: 43.98 kB / 0.8128 GB, free: 24.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.391e-05/0.4444, allocations: 7.938 kB / 0.8128 GB, free: 24.42 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 5 * 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 8.339e-05/0.4445, allocations: 105.8 kB / 0.8129 GB, free: 24.31 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.584e-05/0.4446, allocations: 7.891 kB / 0.8129 GB, free: 24.3 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00231/0.4469, allocations: 245 kB / 0.8131 GB, free: 24.05 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.4469, allocations: 0 / 0.8131 GB, free: 24.05 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.4469, allocations: 7.953 kB / 0.8131 GB, free: 24.05 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.905e-05/0.447, allocations: 77.11 kB / 0.8132 GB, free: 23.95 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.985e-05/0.447, allocations: 256 / 0.8132 GB, free: 23.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005852/0.4476, allocations: 47.97 kB / 0.8132 GB, free: 23.91 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.449e-05/0.4476, allocations: 0 / 0.8132 GB, free: 23.91 MB / 378.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002732/0.4504, allocations: 320.9 kB / 0.8135 GB, free: 23.59 MB / 378.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002306/0.4527, allocations: 378.6 kB / 0.8139 GB, free: 23.2 MB / 378.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001077/0.4538, allocations: 91.94 kB / 0.814 GB, free: 23.11 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.133e-05/0.4538, allocations: 79.28 kB / 0.8141 GB, free: 23.03 MB / 378.7 MB Notification: Performance of Backend: time 7.11e-07/0.4538, allocations: 0 / 0.8141 GB, free: 23.03 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001519/0.4554, allocations: 182.3 kB / 0.8142 GB, free: 22.85 MB / 378.7 MB Notification: Performance of SimCode: time 0.0003047/0.4557, allocations: 0.539 MB / 0.8148 GB, free: 22.26 MB / 378.7 MB Notification: Performance of Templates: time 0.004217/0.4599, allocations: 1.333 MB / 0.8161 GB, free: 20.93 MB / 378.7 MB