Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2") translateModel(Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008551/0.0008551, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005785/0.005785, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.359/1.359, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.863/2.863, allocations: 473.4 MB / 0.7469 GB, free: 6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000351/0.0003511, allocations: 7.5 kB / 0.9158 GB, free: 33.13 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3069/0.3073, allocations: 162.2 MB / 1.074 GB, free: 7.488 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2): time 0.04809/0.3554, allocations: 45.64 MB / 1.119 GB, free: 9.695 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01855/0.374, allocations: 12.65 MB / 1.131 GB, free: 13.02 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002213/0.3762, allocations: 55.62 kB / 1.131 GB, free: 12.96 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001891/0.3781, allocations: 0.6293 MB / 1.132 GB, free: 12.33 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.006336/0.3845, allocations: 2.2 MB / 1.134 GB, free: 10.12 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003286/0.3878, allocations: 1.263 MB / 1.135 GB, free: 8.875 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.01716/0.4049, allocations: 17.6 MB / 1.152 GB, free: 7.23 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006411/0.4114, allocations: 4.618 MB / 1.157 GB, free: 2.531 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006616/0.418, allocations: 3.341 MB / 1.16 GB, free: 15.18 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006269/0.4243, allocations: 3.571 MB / 1.164 GB, free: 11.59 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.001019/0.4254, allocations: 192 kB / 1.164 GB, free: 11.4 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004584/0.43, allocations: 1.509 MB / 1.165 GB, free: 9.891 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.001682/0.4317, allocations: 1.027 MB / 1.166 GB, free: 8.859 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.004121/0.4358, allocations: 2.349 MB / 1.169 GB, free: 6.492 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.008803/0.4446, allocations: 7.753 MB / 1.176 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.4447, allocations: 4 kB / 1.176 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.174e-06/0.4447, allocations: 0 / 1.176 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 0.0001729/0.4449, allocations: 4 kB / 1.176 GB, free: 14.71 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 746 * Number of variables: 746 Notification: Performance of Generate backend data structure: time 0.009685/0.4546, allocations: 4.507 MB / 1.18 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.4546, allocations: 8.031 kB / 1.18 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007425/0.462, allocations: 1.236 MB / 1.182 GB, free: 8.875 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0126/0.4747, allocations: 5.507 MB / 1.187 GB, free: 3.301 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002146/0.4749, allocations: 229.7 kB / 1.187 GB, free: 3.074 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008109/0.4757, allocations: 300 kB / 1.188 GB, free: 2.781 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008008/0.4838, allocations: 4.478 MB / 1.192 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.483e-05/0.4838, allocations: 23.77 kB / 1.192 GB, free: 14.1 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003411/0.4842, allocations: 124 kB / 1.192 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001408/0.4843, allocations: 137.5 kB / 1.192 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006307/0.4907, allocations: 3.807 MB / 1.196 GB, free: 10.02 MB / 0.9512 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03196/0.5226, allocations: 20.31 MB / 1.216 GB, free: 4.402 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004285/0.527, allocations: 2.231 MB / 1.218 GB, free: 2.16 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002262/0.5293, allocations: 1.274 MB / 1.219 GB, free: 0.8789 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007503/0.5301, allocations: 0.5389 MB / 1.22 GB, free: 236 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.695e-05/0.5302, allocations: 55.88 kB / 1.22 GB, free: 168 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=160): time 4.759e-06/0.5302, allocations: 0 / 1.22 GB, free: 168 kB / 0.9669 GB Notification: Performance of matching and sorting (n=160): time 0.02391/0.5541, allocations: 6.203 MB / 1.226 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.634e-05/0.5542, allocations: 68.72 kB / 1.226 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005122/0.5593, allocations: 3.177 MB / 1.229 GB, free: 6.566 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0004801/0.5598, allocations: 65.7 kB / 1.229 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.001596/0.5614, allocations: 1.766 MB / 1.231 GB, free: 4.707 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007346/0.5622, allocations: 0.5546 MB / 1.231 GB, free: 4.145 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003342/0.5625, allocations: 198.1 kB / 1.232 GB, free: 3.945 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.5626, allocations: 305.1 kB / 1.232 GB, free: 3.645 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003139/0.5658, allocations: 1.429 MB / 1.233 GB, free: 2.211 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00348/0.5693, allocations: 2.006 MB / 1.235 GB, free: 15.97 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005322/0.5746, allocations: 3.18 MB / 1.238 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.161e-05/0.5746, allocations: 4 kB / 1.238 GB, free: 12.58 MB / 0.9981 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.0178/0.5924, allocations: 5.494 MB / 1.244 GB, free: 7.062 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003801/0.5929, allocations: 0.5282 MB / 1.244 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.055e-05/0.5929, allocations: 12 kB / 1.244 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01715/0.61, allocations: 2.897 MB / 1.247 GB, free: 3.414 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002502/0.6126, allocations: 0.4914 MB / 1.247 GB, free: 2.922 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.654/1.267, allocations: 5.379 MB / 1.253 GB, free: 164.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005015/1.272, allocations: 446.3 kB / 1.253 GB, free: 164.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005389/1.272, allocations: 118.8 kB / 1.253 GB, free: 164.2 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/1.272, allocations: 3.281 kB / 1.253 GB, free: 164.2 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01649/1.289, allocations: 4.971 MB / 1.258 GB, free: 164.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.963e-05/1.289, allocations: 13.12 kB / 1.258 GB, free: 164.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01559/1.304, allocations: 2.795 MB / 1.261 GB, free: 164.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002082/1.307, allocations: 464.6 kB / 1.261 GB, free: 164.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008958/1.316, allocations: 4.2 MB / 1.265 GB, free: 162.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004558/1.32, allocations: 413.6 kB / 1.266 GB, free: 162.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004424/1.321, allocations: 106.7 kB / 1.266 GB, free: 162.4 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 (217): * Single equations (assignments): 212 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(3,8), (5,40), (3,8)} Notification: Performance of prepare postOptimizeDAE: time 0.003861/1.324, allocations: 1.491 MB / 1.267 GB, free: 161.8 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00151/1.326, allocations: 331.1 kB / 1.268 GB, free: 161.8 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006355/1.332, allocations: 3.046 MB / 1.271 GB, free: 160.7 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.612e-05/1.332, allocations: 23.14 kB / 1.271 GB, free: 160.7 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.225e-05/1.332, allocations: 1 kB / 1.271 GB, free: 160.7 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004001/1.336, allocations: 2.489 MB / 1.273 GB, free: 159.7 MB / 0.9981 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01286/1.349, allocations: 6.68 MB / 1.28 GB, free: 157.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.839e-06/1.349, allocations: 5.344 kB / 1.28 GB, free: 157.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00133/1.351, allocations: 287.5 kB / 1.28 GB, free: 157.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002857/1.354, allocations: 0.8734 MB / 1.281 GB, free: 156.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000165/1.354, allocations: 44.06 kB / 1.281 GB, free: 156.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006698/1.36, allocations: 9.993 MB / 1.291 GB, free: 148 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/1.361, allocations: 3.938 kB / 1.291 GB, free: 148 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007293/1.368, allocations: 4.34 MB / 1.295 GB, free: 146.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002052/1.37, allocations: 0.7447 MB / 1.296 GB, free: 145.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006743/1.371, allocations: 33.22 kB / 1.296 GB, free: 145.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00264/1.373, allocations: 253 kB / 1.296 GB, free: 145.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002749/1.374, allocations: 120.1 kB / 1.296 GB, free: 145.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002025/1.374, allocations: 86.17 kB / 1.296 GB, free: 145.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0037/1.377, allocations: 2.203 MB / 1.298 GB, free: 145 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.61e-07/1.377, allocations: 0 / 1.298 GB, free: 145 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.007755/1.385, allocations: 2.221 MB / 1.3 GB, free: 144.6 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 5 (rad1.vol[1].dynBal.U,rad1.vol[2].dynBal.U,rad1.vol[3].dynBal.U,rad1.vol[4].dynBal.U,rad1.vol[5].dynBal.U) * 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 (123): * Single equations (assignments): 113 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,50)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001268/1.387, allocations: 474.2 kB / 1.301 GB, free: 144.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01504/1.402, allocations: 5.665 MB / 1.306 GB, free: 141.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.452e-05/1.402, allocations: 2.297 kB / 1.306 GB, free: 141.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002547/1.404, allocations: 1.777 MB / 1.308 GB, free: 140.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009328/1.414, allocations: 1.865 MB / 1.31 GB, free: 139.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01114/1.425, allocations: 9.485 MB / 1.319 GB, free: 131.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001908/1.427, allocations: 2.967 MB / 1.322 GB, free: 128.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.004032/1.431, allocations: 1.285 MB / 1.323 GB, free: 127.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005823/1.431, allocations: 243.3 kB / 1.324 GB, free: 127.2 MB / 0.9981 GB Notification: Performance of SimCode: time 1.383e-06/1.431, allocations: 0 / 1.324 GB, free: 127.2 MB / 0.9981 GB Notification: Performance of Templates: time 0.1158/1.547, allocations: 86.5 MB / 1.408 GB, free: 41.41 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe 2>&1)