Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.44/1.44, allocations: 252 MB / 268 MB, free: 10.87 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001712/0.001712, allocations: 179.8 kB / 327.6 MB, free: 2.113 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.649/1.649, allocations: 205.4 MB / 0.5786 GB, free: 20.18 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008105/0.0008105, allocations: 78.42 kB / 0.6832 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003331/0.0003332, allocations: 8.281 kB / 0.7976 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2421/0.2425, allocations: 106.3 MB / 0.9015 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2): time 0.03689/0.2794, allocations: 45.61 MB / 0.946 GB, free: 17.72 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01612/0.2956, allocations: 12.5 MB / 0.9582 GB, free: 5.195 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003103/0.2988, allocations: 59.56 kB / 0.9583 GB, free: 5.137 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.002282/0.3011, allocations: 0.6215 MB / 0.9589 GB, free: 4.512 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.00714/0.3082, allocations: 2.179 MB / 0.961 GB, free: 2.328 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.003829/0.3121, allocations: 1.206 MB / 0.9622 GB, free: 1.133 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.02294/0.335, allocations: 17.46 MB / 0.9792 GB, free: 15.63 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008789/0.3439, allocations: 4.598 MB / 0.9837 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00874/0.3527, allocations: 3.392 MB / 0.987 GB, free: 7.547 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008328/0.361, allocations: 3.567 MB / 0.9905 GB, free: 3.965 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.001986/0.3631, allocations: 192 kB / 0.9907 GB, free: 3.777 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007741/0.3708, allocations: 1.505 MB / 0.9922 GB, free: 2.27 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0035/0.3744, allocations: 1.008 MB / 0.9931 GB, free: 1.258 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.009526/0.3839, allocations: 2.318 MB / 0.9954 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.01092/0.3949, allocations: 6.379 MB / 1.002 GB, free: 8.527 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.3949, allocations: 0 / 1.002 GB, free: 8.527 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.675e-06/0.395, allocations: 0 / 1.002 GB, free: 8.527 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0002938/0.3953, allocations: 0 / 1.002 GB, free: 8.527 MB / 0.6511 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.01352/0.4088, allocations: 4.468 MB / 1.006 GB, free: 3.984 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.972e-05/0.4089, allocations: 8.031 kB / 1.006 GB, free: 3.977 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008313/0.4172, allocations: 1.221 MB / 1.007 GB, free: 2.75 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01487/0.4321, allocations: 5.389 MB / 1.012 GB, free: 13.3 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002991/0.4325, allocations: 229.7 kB / 1.013 GB, free: 13.07 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001464/0.4339, allocations: 296 kB / 1.013 GB, free: 12.78 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01093/0.4449, allocations: 4.434 MB / 1.017 GB, free: 8.168 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.087e-05/0.445, allocations: 7.938 kB / 1.017 GB, free: 8.16 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003652/0.4454, allocations: 123.9 kB / 1.017 GB, free: 8.039 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001547/0.4456, allocations: 145.3 kB / 1.018 GB, free: 7.895 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007043/0.4526, allocations: 3.803 MB / 1.021 GB, free: 4.078 MB / 0.6667 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.03469/0.4873, allocations: 20.24 MB / 1.041 GB, free: 14.53 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003672/0.4911, allocations: 2.225 MB / 1.043 GB, free: 12.3 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001896/0.493, allocations: 1.27 MB / 1.044 GB, free: 11.03 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005644/0.4936, allocations: 0.5388 MB / 1.045 GB, free: 10.38 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.114e-05/0.4936, allocations: 59.86 kB / 1.045 GB, free: 10.31 MB / 0.698 GB Notification: Performance of pre-optimization done (n=160): time 3.447e-06/0.4936, allocations: 0 / 1.045 GB, free: 10.31 MB / 0.698 GB Notification: Performance of matching and sorting (n=160): time 0.02306/0.5167, allocations: 6.184 MB / 1.051 GB, free: 3.988 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.629e-05/0.5168, allocations: 68.72 kB / 1.051 GB, free: 3.91 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004808/0.5216, allocations: 3.114 MB / 1.054 GB, free: 0.793 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.000459/0.5221, allocations: 65.7 kB / 1.054 GB, free: 0.7227 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.5745/1.097, allocations: 1.73 MB / 1.056 GB, free: 140.6 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001185/1.098, allocations: 0.5479 MB / 1.056 GB, free: 140.3 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000304/1.098, allocations: 44.44 kB / 1.057 GB, free: 140.3 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002445/1.098, allocations: 400.9 kB / 1.057 GB, free: 140 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004505/1.103, allocations: 1.432 MB / 1.058 GB, free: 140 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005233/1.108, allocations: 2.009 MB / 1.06 GB, free: 139.4 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008035/1.116, allocations: 3.171 MB / 1.063 GB, free: 138.8 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.133e-05/1.116, allocations: 3.578 kB / 1.063 GB, free: 138.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.02385/1.14, allocations: 5.12 MB / 1.068 GB, free: 138.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004474/1.141, allocations: 0.5162 MB / 1.069 GB, free: 137.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.632e-05/1.141, allocations: 14.94 kB / 1.069 GB, free: 137.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02385/1.165, allocations: 2.921 MB / 1.072 GB, free: 137.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003577/1.168, allocations: 492.8 kB / 1.072 GB, free: 137.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01565/1.184, allocations: 5.615 MB / 1.078 GB, free: 134.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006962/1.191, allocations: 450.7 kB / 1.078 GB, free: 134.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001033/1.192, allocations: 121 kB / 1.078 GB, free: 134.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/1.192, allocations: 3.062 kB / 1.078 GB, free: 134.7 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0179/1.21, allocations: 4.628 MB / 1.083 GB, free: 134 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-05/1.21, allocations: 14.66 kB / 1.083 GB, free: 134 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02088/1.231, allocations: 2.805 MB / 1.085 GB, free: 133.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003302/1.234, allocations: 458.3 kB / 1.086 GB, free: 133 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0143/1.249, allocations: 4.432 MB / 1.09 GB, free: 130 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006543/1.255, allocations: 408.7 kB / 1.091 GB, free: 129.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009333/1.256, allocations: 107.6 kB / 1.091 GB, free: 129.8 MB / 0.698 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), (5,6)} Notification: Performance of prepare postOptimizeDAE: time 0.005028/1.261, allocations: 1.475 MB / 1.092 GB, free: 128.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00211/1.264, allocations: 321.1 kB / 1.093 GB, free: 128.6 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007181/1.271, allocations: 3.037 MB / 1.095 GB, free: 126.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.224e-05/1.271, allocations: 23.94 kB / 1.095 GB, free: 126.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.347e-05/1.271, allocations: 0 / 1.095 GB, free: 126.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004978/1.276, allocations: 2.488 MB / 1.098 GB, free: 124.3 MB / 0.698 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.01812/1.294, allocations: 6.606 MB / 1.104 GB, free: 117.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.8e-05/1.294, allocations: 4.094 kB / 1.104 GB, free: 117.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00196/1.296, allocations: 295.5 kB / 1.105 GB, free: 117.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004154/1.3, allocations: 0.866 MB / 1.106 GB, free: 116.4 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000369/1.301, allocations: 51.91 kB / 1.106 GB, free: 116.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008684/1.309, allocations: 9.991 MB / 1.115 GB, free: 105.6 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.423e-06/1.309, allocations: 3.938 kB / 1.115 GB, free: 105.6 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009822/1.319, allocations: 4.327 MB / 1.12 GB, free: 101.3 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003278/1.323, allocations: 0.7153 MB / 1.12 GB, free: 100.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001691/1.324, allocations: 36 kB / 1.12 GB, free: 100.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004704/1.329, allocations: 267.4 kB / 1.121 GB, free: 100.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004522/1.33, allocations: 113.7 kB / 1.121 GB, free: 100.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003474/1.33, allocations: 79.94 kB / 1.121 GB, free: 100.1 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.005958/1.336, allocations: 2.156 MB / 1.123 GB, free: 97.9 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.51e-07/1.336, allocations: 0 / 1.123 GB, free: 97.9 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.01131/1.347, allocations: 2.208 MB / 1.125 GB, free: 95.71 MB / 0.698 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.001792/1.349, allocations: 450.7 kB / 1.125 GB, free: 95.32 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.02624/1.375, allocations: 5.892 MB / 1.131 GB, free: 89.44 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-05/1.375, allocations: 4.75 kB / 1.131 GB, free: 89.43 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.004091/1.38, allocations: 1.78 MB / 1.133 GB, free: 87.6 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01456/1.394, allocations: 1.85 MB / 1.135 GB, free: 85.8 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02042/1.415, allocations: 9.402 MB / 1.144 GB, free: 76.37 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0041/1.419, allocations: 2.89 MB / 1.147 GB, free: 73.46 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001454/1.42, allocations: 243.4 kB / 1.147 GB, free: 73.22 MB / 0.698 GB Notification: Performance of SimCode: time 1.062e-06/1.42, allocations: 0 / 1.147 GB, free: 73.22 MB / 0.698 GB Notification: Performance of Templates: time 0.3564/1.777, allocations: 204.1 MB / 1.346 GB, free: 13.08 MB / 0.8386 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe 2>&1)