Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.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.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002449/0.002453, allocations: 355.1 kB / 15.94 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.452/1.452, allocations: 165.8 MB / 182.5 MB, free: 5.402 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 4.039/4.039, 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.00173/0.001729, allocations: 188.1 kB / 0.6662 GB, free: 6.895 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004682/0.0004685, allocations: 8 kB / 0.7423 GB, free: 8.93 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3312/0.3317, allocations: 67.44 MB / 0.8082 GB, free: 28.64 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.004278/0.336, allocations: 4.04 MB / 0.8121 GB, free: 24.58 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009404/0.337, allocations: 0.7521 MB / 0.8128 GB, free: 23.82 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.849e-05/0.3371, allocations: 4 kB / 0.8128 GB, free: 23.82 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001409/0.3372, allocations: 27.77 kB / 0.8129 GB, free: 23.79 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 7.703e-05/0.3373, allocations: 23.77 kB / 0.8129 GB, free: 23.77 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004674/0.3378, allocations: 131.5 kB / 0.813 GB, free: 23.64 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001976/0.338, allocations: 155.4 kB / 0.8132 GB, free: 23.49 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.564e-05/0.3381, allocations: 21.09 kB / 0.8132 GB, free: 23.46 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001879/0.3383, allocations: 71.69 kB / 0.8132 GB, free: 23.39 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000118/0.3385, allocations: 71.75 kB / 0.8133 GB, free: 23.32 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.56e-05/0.3385, allocations: 4 kB / 0.8133 GB, free: 23.32 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003518/0.3389, allocations: 115.8 kB / 0.8134 GB, free: 23.21 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.355e-05/0.3389, allocations: 23.91 kB / 0.8135 GB, free: 23.18 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.553e-05/0.339, allocations: 49.64 kB / 0.8135 GB, free: 23.13 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002466/0.3392, allocations: 161.7 kB / 0.8137 GB, free: 22.97 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.626e-06/0.3393, allocations: 0 / 0.8137 GB, free: 22.97 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.781e-06/0.3393, allocations: 4 kB / 0.8137 GB, free: 22.97 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.162e-06/0.3393, allocations: 0 / 0.8137 GB, free: 22.97 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0007464/0.34, allocations: 470.8 kB / 0.8141 GB, free: 22.46 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.3401, allocations: 8.031 kB / 0.8141 GB, free: 22.45 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.678e-05/0.3401, allocations: 19.8 kB / 0.8141 GB, free: 22.43 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.563e-05/0.3403, allocations: 179.7 kB / 0.8143 GB, free: 22.22 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.693e-05/0.3403, allocations: 11.95 kB / 0.8143 GB, free: 22.21 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.874e-05/0.3403, allocations: 12 kB / 0.8143 GB, free: 22.2 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003558/0.3407, allocations: 136.5 kB / 0.8145 GB, free: 22.06 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.3407, allocations: 0 / 0.8145 GB, free: 22.06 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.3407, allocations: 0 / 0.8145 GB, free: 22.06 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.3408, allocations: 0 / 0.8145 GB, free: 22.06 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004768/0.3412, allocations: 163.8 kB / 0.8146 GB, free: 21.9 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001/0.3423, allocations: 476.4 kB / 0.8151 GB, free: 21.38 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003702/0.3427, allocations: 138.5 kB / 0.8152 GB, free: 21.24 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002374/0.3429, allocations: 76.81 kB / 0.8153 GB, free: 21.16 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001315/0.3442, allocations: 0.9569 MB / 0.8162 GB, free: 20.07 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.68e-05/0.3443, allocations: 38.56 kB / 0.8162 GB, free: 20.02 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 3.703e-06/0.3443, allocations: 0 / 0.8162 GB, free: 20.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=12): time 0.0007811/0.3451, allocations: 245.3 kB / 0.8165 GB, free: 19.77 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.606e-05/0.3451, allocations: 55.41 kB / 0.8165 GB, free: 19.71 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001268/0.3453, allocations: 165.1 kB / 0.8167 GB, free: 19.54 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.928e-05/0.3453, allocations: 29.7 kB / 0.8167 GB, free: 19.5 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.877e-05/0.3454, allocations: 108.3 kB / 0.8168 GB, free: 19.39 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.088e-05/0.3454, allocations: 43.45 kB / 0.8169 GB, free: 19.35 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.317e-05/0.3454, allocations: 0 / 0.8169 GB, free: 19.35 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.718e-05/0.3455, allocations: 330.8 kB / 0.8172 GB, free: 19.02 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000271/0.3458, allocations: 79.95 kB / 0.8173 GB, free: 18.94 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002861/0.3461, allocations: 122.4 kB / 0.8174 GB, free: 18.81 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002882/0.3464, allocations: 97.19 kB / 0.8175 GB, free: 18.72 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.3464, allocations: 0 / 0.8175 GB, free: 18.72 MB / 378.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006739/0.3471, allocations: 276.5 kB / 0.8177 GB, free: 18.45 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.3471, allocations: 4 kB / 0.8177 GB, free: 18.44 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.681e-06/0.3471, allocations: 0 / 0.8177 GB, free: 18.44 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.036e-05/0.3472, allocations: 7.953 kB / 0.8177 GB, free: 18.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003236/0.3475, allocations: 59.91 kB / 0.8178 GB, free: 18.38 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.767e-06/0.3475, allocations: 4 kB / 0.8178 GB, free: 18.37 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001883/0.3477, allocations: 39.84 kB / 0.8178 GB, free: 18.33 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.038e-05/0.3478, allocations: 4 kB / 0.8178 GB, free: 18.33 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (26): * Single equations (assignments): 26 * 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 9.204e-05/0.3479, allocations: 129.7 kB / 0.818 GB, free: 18.19 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.603e-05/0.3479, allocations: 15.75 kB / 0.818 GB, free: 18.18 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005644/0.3485, allocations: 203.3 kB / 0.8182 GB, free: 17.98 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.551e-06/0.3485, allocations: 0 / 0.8182 GB, free: 17.98 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.029e-06/0.3485, allocations: 3.953 kB / 0.8182 GB, free: 17.97 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.848e-06/0.3486, allocations: 7.984 kB / 0.8182 GB, free: 17.96 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002303/0.3488, allocations: 217.5 kB / 0.8184 GB, free: 17.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.517e-06/0.3488, allocations: 0 / 0.8184 GB, free: 17.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001986/0.349, allocations: 39.91 kB / 0.8184 GB, free: 17.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.347e-06/0.349, allocations: 4 kB / 0.8184 GB, free: 17.66 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.3491, allocations: 0 / 0.8184 GB, free: 17.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.157e-06/0.3491, allocations: 0 / 0.8184 GB, free: 17.66 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.038e-06/0.3491, allocations: 0 / 0.8184 GB, free: 17.66 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005095/0.3496, allocations: 283.2 kB / 0.8187 GB, free: 17.37 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.173e-05/0.3497, allocations: 104.8 kB / 0.8188 GB, free: 17.25 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.746e-05/0.3497, allocations: 4 kB / 0.8188 GB, free: 17.24 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001758/0.3499, allocations: 15.98 kB / 0.8188 GB, free: 17.23 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.295e-05/0.35, allocations: 11.98 kB / 0.8188 GB, free: 17.21 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.186e-05/0.35, allocations: 0 / 0.8188 GB, free: 17.21 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.833e-05/0.3501, allocations: 128.8 kB / 0.819 GB, free: 17.09 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.82e-07/0.3501, allocations: 4 kB / 0.819 GB, free: 17.09 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000454/0.3506, allocations: 60.11 kB / 0.819 GB, free: 17.03 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 (12): * Single equations (assignments): 12 * 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.000254/0.3508, allocations: 155.1 kB / 0.8192 GB, free: 16.87 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005941/0.3514, allocations: 188 kB / 0.8193 GB, free: 16.68 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.41e-06/0.3515, allocations: 0 / 0.8193 GB, free: 16.68 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002319/0.3517, allocations: 79.89 kB / 0.8194 GB, free: 16.61 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004333/0.3521, allocations: 23.98 kB / 0.8194 GB, free: 16.58 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005377/0.3527, allocations: 353.7 kB / 0.8198 GB, free: 16.21 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001372/0.3529, allocations: 0.7087 MB / 0.8205 GB, free: 15.48 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001423/0.353, allocations: 26.89 kB / 0.8205 GB, free: 15.45 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.515e-05/0.3531, allocations: 19.44 kB / 0.8205 GB, free: 15.43 MB / 378.7 MB Notification: Performance of SimCode: time 1.636e-06/0.3531, allocations: 0 / 0.8205 GB, free: 15.43 MB / 378.7 MB Notification: Performance of Templates: time 0.006801/0.3599, allocations: 2.481 MB / 0.8229 GB, free: 12.97 MB / 378.7 MB