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.0009525/0.0009525, allocations: 98.83 kB / 15.05 MB, free: 1.105 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.0009322/0.0009323, allocations: 177.3 kB / 15.95 MB, free: 216 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.372/1.372, allocations: 205.4 MB / 222.1 MB, free: 5.672 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.634/1.634, allocations: 292.5 MB / 0.5497 GB, free: 14.65 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.0005018/0.0005019, allocations: 15.03 kB / 0.6735 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2317/0.2322, allocations: 116.3 MB / 0.7871 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2): time 0.03659/0.2689, allocations: 39.16 MB / 0.8254 GB, free: 4.734 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01601/0.2849, allocations: 10.91 MB / 0.836 GB, free: 9.801 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002449/0.2874, allocations: 55.62 kB / 0.8361 GB, free: 9.746 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002487/0.2899, allocations: 0.6917 MB / 0.8367 GB, free: 9.051 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.00672/0.2967, allocations: 2.203 MB / 0.8389 GB, free: 6.848 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.00413/0.3008, allocations: 1.421 MB / 0.8403 GB, free: 5.449 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.008781/0.3096, allocations: 7.263 MB / 0.8474 GB, free: 14.18 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005214/0.3149, allocations: 3.908 MB / 0.8512 GB, free: 10.22 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005697/0.3206, allocations: 2.892 MB / 0.854 GB, free: 7.316 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004343/0.3249, allocations: 2.463 MB / 0.8564 GB, free: 4.844 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.000755/0.3257, allocations: 192 kB / 0.8566 GB, free: 4.656 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003935/0.3297, allocations: 1.116 MB / 0.8577 GB, free: 3.539 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001286/0.331, allocations: 0.9459 MB / 0.8586 GB, free: 2.59 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.00166/0.3326, allocations: 0.933 MB / 0.8595 GB, free: 1.648 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.007134/0.3398, allocations: 6.312 MB / 0.8657 GB, free: 11.32 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3398, allocations: 0 / 0.8657 GB, free: 11.32 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.444e-06/0.3398, allocations: 0 / 0.8657 GB, free: 11.32 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0002042/0.34, allocations: 0 / 0.8657 GB, free: 11.32 MB / 0.6856 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.01256/0.3526, allocations: 4.491 MB / 0.8701 GB, free: 6.754 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.3527, allocations: 8.031 kB / 0.8701 GB, free: 6.746 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008203/0.3609, allocations: 1.224 MB / 0.8713 GB, free: 5.516 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01364/0.3746, allocations: 4.726 MB / 0.8759 GB, free: 0.7227 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001866/0.3748, allocations: 225.7 kB / 0.8761 GB, free: 0.5 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007742/0.3756, allocations: 300 kB / 0.8764 GB, free: 212 kB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007595/0.3832, allocations: 4.446 MB / 0.8807 GB, free: 11.58 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.818e-05/0.3833, allocations: 11.88 kB / 0.8808 GB, free: 11.57 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003257/0.3837, allocations: 124 kB / 0.8809 GB, free: 11.45 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001298/0.3838, allocations: 141.5 kB / 0.881 GB, free: 11.3 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006273/0.3901, allocations: 3.796 MB / 0.8847 GB, free: 7.496 MB / 0.7012 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.03387/0.424, allocations: 20.79 MB / 0.905 GB, free: 1.387 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00363/0.4277, allocations: 2.294 MB / 0.9073 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005533/0.4282, allocations: 0.5272 MB / 0.9078 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.008e-05/0.4283, allocations: 63.88 kB / 0.9078 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=160): time 5.981e-06/0.4283, allocations: 0 / 0.9078 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of matching and sorting (n=160): time 0.02101/0.4493, allocations: 6.172 MB / 0.9139 GB, free: 8.07 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.167e-05/0.4494, allocations: 72.7 kB / 0.9139 GB, free: 7.988 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004902/0.4543, allocations: 3.552 MB / 0.9174 GB, free: 4.434 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0005733/0.4549, allocations: 69.7 kB / 0.9175 GB, free: 4.359 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001551/0.4565, allocations: 1.751 MB / 0.9192 GB, free: 2.59 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008039/0.4573, allocations: 0.5545 MB / 0.9197 GB, free: 2.027 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001542/0.4575, allocations: 40 kB / 0.9198 GB, free: 1.988 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001781/0.4577, allocations: 398.3 kB / 0.9201 GB, free: 1.594 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002803/0.4605, allocations: 1.359 MB / 0.9215 GB, free: 236 kB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4099/0.8704, allocations: 1.916 MB / 0.9233 GB, free: 124.5 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003757/0.8742, allocations: 1.66 MB / 0.925 GB, free: 124.5 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-05/0.8742, allocations: 3.969 kB / 0.925 GB, free: 124.5 MB / 0.7325 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.01541/0.8897, allocations: 4.93 MB / 0.9298 GB, free: 124.1 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.000992/0.8907, allocations: 6.213 MB / 0.9358 GB, free: 117.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.532e-05/0.8907, allocations: 14.44 kB / 0.9359 GB, free: 117.6 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01638/0.9071, allocations: 2.858 MB / 0.9386 GB, free: 117.3 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002522/0.9097, allocations: 0.498 MB / 0.9391 GB, free: 117.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01077/0.9204, allocations: 5.615 MB / 0.9446 GB, free: 113.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0049/0.9254, allocations: 0.5077 MB / 0.9451 GB, free: 113.6 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004728/0.9259, allocations: 114 kB / 0.9452 GB, free: 113.6 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.9259, allocations: 12.06 kB / 0.9452 GB, free: 113.6 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01285/0.9388, allocations: 4.613 MB / 0.9497 GB, free: 112.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.563e-05/0.9388, allocations: 14.75 kB / 0.9498 GB, free: 112.2 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01415/0.953, allocations: 2.809 MB / 0.9525 GB, free: 111.7 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002144/0.9551, allocations: 468.7 kB / 0.9529 GB, free: 111.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009332/0.9645, allocations: 4.434 MB / 0.9573 GB, free: 109.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004418/0.969, allocations: 473.2 kB / 0.9577 GB, free: 109.3 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004013/0.9694, allocations: 103.6 kB / 0.9578 GB, free: 109.3 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.002696/0.9721, allocations: 1.47 MB / 0.9593 GB, free: 108.6 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001153/0.9732, allocations: 326 kB / 0.9596 GB, free: 108.5 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004703/0.978, allocations: 3.052 MB / 0.9625 GB, free: 106.8 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.201e-05/0.978, allocations: 21.41 kB / 0.9626 GB, free: 106.8 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.266e-05/0.978, allocations: 1.719 kB / 0.9626 GB, free: 106.8 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002808/0.9808, allocations: 2.498 MB / 0.965 GB, free: 105.5 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.009239/0.9901, allocations: 6.928 MB / 0.9718 GB, free: 101.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/0.9901, allocations: 0 / 0.9718 GB, free: 101.2 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001095/0.9912, allocations: 267.7 kB / 0.972 GB, free: 101.1 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002614/0.9938, allocations: 0.9398 MB / 0.9729 GB, free: 100.7 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001023/0.994, allocations: 43.05 kB / 0.973 GB, free: 100.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005774/0.9997, allocations: 10.47 MB / 0.9832 GB, free: 90.52 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-06/0.9998, allocations: 0 / 0.9832 GB, free: 90.52 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005392/1.005, allocations: 4.426 MB / 0.9875 GB, free: 86.03 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002125/1.007, allocations: 0.86 MB / 0.9884 GB, free: 85.17 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004983/1.008, allocations: 32 kB / 0.9884 GB, free: 85.14 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002286/1.01, allocations: 289.4 kB / 0.9887 GB, free: 84.87 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002162/1.01, allocations: 121.8 kB / 0.9888 GB, free: 84.75 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001476/1.01, allocations: 83.94 kB / 0.9889 GB, free: 84.67 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002897/1.013, allocations: 2.492 MB / 0.9913 GB, free: 82.19 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.71e-07/1.013, allocations: 0 / 0.9913 GB, free: 82.19 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00538/1.019, allocations: 2.302 MB / 0.9936 GB, free: 79.95 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 (118): * Single equations (assignments): 108 * 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%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {5 50} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007959/1.02, allocations: 478.3 kB / 0.994 GB, free: 79.55 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01516/1.035, allocations: 5.826 MB / 0.9997 GB, free: 73.73 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.544e-06/1.035, allocations: 0.75 kB / 0.9997 GB, free: 73.73 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002225/1.037, allocations: 1.824 MB / 1.001 GB, free: 71.85 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007382/1.044, allocations: 1.83 MB / 1.003 GB, free: 70.06 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01003/1.054, allocations: 9.121 MB / 1.012 GB, free: 60.92 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001712/1.056, allocations: 3.018 MB / 1.015 GB, free: 57.88 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.003705/1.06, allocations: 1.291 MB / 1.016 GB, free: 56.6 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005448/1.061, allocations: 243.3 kB / 1.017 GB, free: 56.36 MB / 0.7325 GB Notification: Performance of SimCode: time 1.553e-06/1.061, allocations: 7.938 kB / 1.017 GB, free: 56.36 MB / 0.7325 GB Notification: Performance of Templates: time 0.1351/1.196, allocations: 86.88 MB / 1.101 GB, free: 2.277 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: