Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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_8_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_8_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.0008916/0.0008917, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0009953/0.0009954, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.37/1.37, allocations: 205.4 MB / 222.1 MB, free: 5.902 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.59/1.59, allocations: 292.7 MB / 0.5499 GB, free: 14.59 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005016/0.0005018, allocations: 13.03 kB / 0.6737 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2116/0.2121, allocations: 116.3 MB / 0.7873 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2): time 0.04267/0.2548, allocations: 43.14 MB / 0.8294 GB, free: 0.6875 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01611/0.271, allocations: 11.81 MB / 0.8409 GB, free: 4.855 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002241/0.2733, allocations: 59.62 kB / 0.841 GB, free: 4.797 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001941/0.2753, allocations: 0.5395 MB / 0.8415 GB, free: 4.254 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0056/0.2809, allocations: 1.884 MB / 0.8434 GB, free: 2.363 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003209/0.2841, allocations: 1.011 MB / 0.8444 GB, free: 1.363 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01426/0.2984, allocations: 14.5 MB / 0.8585 GB, free: 2.824 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00725/0.3057, allocations: 3.896 MB / 0.8623 GB, free: 14.88 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006857/0.3126, allocations: 3.346 MB / 0.8656 GB, free: 11.52 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006019/0.3186, allocations: 3.388 MB / 0.8689 GB, free: 8.113 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0009465/0.3196, allocations: 192 kB / 0.8691 GB, free: 7.926 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004042/0.3237, allocations: 1.228 MB / 0.8703 GB, free: 6.695 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001389/0.3251, allocations: 0.9844 MB / 0.8712 GB, free: 5.707 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.00173/0.3268, allocations: 0.937 MB / 0.8722 GB, free: 4.762 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.007981/0.3348, allocations: 6.387 MB / 0.8784 GB, free: 14.36 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.3348, allocations: 0 / 0.8784 GB, free: 14.36 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.786e-06/0.3349, allocations: 0 / 0.8784 GB, free: 14.36 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0002049/0.3351, allocations: 0 / 0.8784 GB, free: 14.36 MB / 0.7012 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.01026/0.3453, allocations: 4.511 MB / 0.8828 GB, free: 9.773 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.3454, allocations: 12.03 kB / 0.8828 GB, free: 9.762 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007311/0.3527, allocations: 1.212 MB / 0.884 GB, free: 8.543 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01172/0.3645, allocations: 5.305 MB / 0.8892 GB, free: 3.176 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001828/0.3647, allocations: 225.7 kB / 0.8894 GB, free: 2.953 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007502/0.3654, allocations: 303.9 kB / 0.8897 GB, free: 2.656 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008068/0.3735, allocations: 4.458 MB / 0.894 GB, free: 14.02 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.274e-05/0.3736, allocations: 11.88 kB / 0.894 GB, free: 14 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003537/0.374, allocations: 128 kB / 0.8942 GB, free: 13.88 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001388/0.3741, allocations: 137.5 kB / 0.8943 GB, free: 13.74 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006436/0.3806, allocations: 3.788 MB / 0.898 GB, free: 9.941 MB / 0.7169 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.03117/0.4118, allocations: 20.28 MB / 0.9178 GB, free: 4.348 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003541/0.4154, allocations: 2.212 MB / 0.92 GB, free: 2.137 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001668/0.4171, allocations: 1.266 MB / 0.9212 GB, free: 0.8633 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005145/0.4176, allocations: 0.5389 MB / 0.9217 GB, free: 220 kB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.491e-05/0.4177, allocations: 55.88 kB / 0.9218 GB, free: 152 kB / 0.7325 GB Notification: Performance of pre-optimization done (n=160): time 3.096e-06/0.4177, allocations: 0 / 0.9218 GB, free: 152 kB / 0.7325 GB Notification: Performance of matching and sorting (n=160): time 0.4742/0.8919, allocations: 6.101 MB / 0.9277 GB, free: 126 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.891e-05/0.892, allocations: 67.11 kB / 0.9278 GB, free: 125.9 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005089/0.8971, allocations: 3.081 MB / 0.9308 GB, free: 125.5 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0003979/0.8975, allocations: 71.11 kB / 0.9309 GB, free: 125.4 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001263/0.8988, allocations: 1.74 MB / 0.9326 GB, free: 124.4 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004911/0.8993, allocations: 0.5486 MB / 0.9331 GB, free: 124 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001372/0.8994, allocations: 44.53 kB / 0.9332 GB, free: 124 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.8996, allocations: 397.2 kB / 0.9335 GB, free: 123.6 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002708/0.9023, allocations: 1.349 MB / 0.9349 GB, free: 123.2 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003325/0.9056, allocations: 1.927 MB / 0.9367 GB, free: 122.2 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003372/0.909, allocations: 1.652 MB / 0.9383 GB, free: 121.6 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.401e-05/0.909, allocations: 4.062 kB / 0.9384 GB, free: 121.6 MB / 0.7325 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.01457/0.9236, allocations: 4.918 MB / 0.9432 GB, free: 120.1 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002976/0.9239, allocations: 0.5271 MB / 0.9437 GB, free: 119.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.813e-05/0.924, allocations: 14.69 kB / 0.9437 GB, free: 119.4 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01433/0.9383, allocations: 2.863 MB / 0.9465 GB, free: 119 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002265/0.9406, allocations: 493 kB / 0.947 GB, free: 118.9 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01008/0.9507, allocations: 5.611 MB / 0.9524 GB, free: 115.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005043/0.9558, allocations: 445.5 kB / 0.9529 GB, free: 115 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000761/0.9566, allocations: 109.2 kB / 0.953 GB, free: 115 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.9566, allocations: 3.875 kB / 0.953 GB, free: 115 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01419/0.9708, allocations: 4.605 MB / 0.9575 GB, free: 112.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.151e-05/0.9709, allocations: 12.84 kB / 0.9575 GB, free: 112.7 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01265/0.9836, allocations: 2.812 MB / 0.9602 GB, free: 111.5 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001963/0.9856, allocations: 458.7 kB / 0.9607 GB, free: 111.4 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008852/0.9944, allocations: 4.411 MB / 0.965 GB, free: 108.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003752/0.9982, allocations: 420.5 kB / 0.9654 GB, free: 108.2 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000486/0.9987, allocations: 104 kB / 0.9655 GB, free: 108.2 MB / 0.7325 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 (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {3 8,5 40,5 6} Notification: Performance of prepare postOptimizeDAE: time 0.003133/1.002, allocations: 1.469 MB / 0.9669 GB, free: 107.2 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001381/1.003, allocations: 321.2 kB / 0.9672 GB, free: 107.1 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005206/1.008, allocations: 3.042 MB / 0.9702 GB, free: 105.4 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.283e-05/1.009, allocations: 22.61 kB / 0.9702 GB, free: 105.4 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.001e-05/1.009, allocations: 3.656 kB / 0.9702 GB, free: 105.4 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003237/1.012, allocations: 2.475 MB / 0.9726 GB, free: 103.2 MB / 0.7325 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.0114/1.023, allocations: 6.652 MB / 0.9791 GB, free: 96.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.049e-05/1.023, allocations: 0 / 0.9791 GB, free: 96.48 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001145/1.024, allocations: 294.5 kB / 0.9794 GB, free: 96.2 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002509/1.027, allocations: 0.8715 MB / 0.9802 GB, free: 95.32 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001351/1.027, allocations: 46.94 kB / 0.9803 GB, free: 95.28 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00586/1.033, allocations: 9.974 MB / 0.99 GB, free: 84.57 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/1.033, allocations: 8 kB / 0.99 GB, free: 84.57 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00572/1.039, allocations: 4.313 MB / 0.9942 GB, free: 80.21 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001899/1.041, allocations: 0.731 MB / 0.995 GB, free: 79.45 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008917/1.042, allocations: 39.94 kB / 0.995 GB, free: 79.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002725/1.044, allocations: 247.7 kB / 0.9952 GB, free: 79.17 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000225/1.044, allocations: 117.8 kB / 0.9953 GB, free: 79.06 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002337/1.045, allocations: 91.94 kB / 0.9954 GB, free: 78.97 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.004012/1.049, allocations: 2.125 MB / 0.9975 GB, free: 76.85 MB / 0.7325 GB Notification: Performance of sort global known variables: time 4.3e-07/1.049, allocations: 0 / 0.9975 GB, free: 76.85 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00747/1.056, allocations: 2.206 MB / 0.9997 GB, free: 74.66 MB / 0.7325 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 (linear and non-linear blocks): 2 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 1 {5 50} Notification: Performance of Backend phase and start with SimCode phase: time 0.001138/1.057, allocations: 468.8 kB / 1 GB, free: 74.27 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01604/1.073, allocations: 5.815 MB / 1.006 GB, free: 68.46 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.158e-05/1.074, allocations: 8.062 kB / 1.006 GB, free: 68.46 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002611/1.076, allocations: 1.769 MB / 1.008 GB, free: 66.62 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00969/1.086, allocations: 1.841 MB / 1.009 GB, free: 64.83 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01493/1.101, allocations: 9.113 MB / 1.018 GB, free: 55.7 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00316/1.104, allocations: 2.948 MB / 1.021 GB, free: 52.72 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.005021/1.109, allocations: 1.258 MB / 1.022 GB, free: 51.46 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008873/1.11, allocations: 231.4 kB / 1.023 GB, free: 51.24 MB / 0.7325 GB Notification: Performance of SimCode: time 2.044e-06/1.11, allocations: 0 / 1.023 GB, free: 51.24 MB / 0.7325 GB Notification: Performance of Templates: time 0.1168/1.227, allocations: 83.28 MB / 1.104 GB, free: 0.7344 MB / 0.7637 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe 2>&1) Environment - environmentSimulation: