Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Radiators_Examples_RadiatorEN442_2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Radiators_Examples_RadiatorEN442_2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.649/1.649, allocations: 288.2 MB / 303.2 MB, free: 8.219 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001049/0.001049, allocations: 187.2 kB / 371.8 MB, free: 10.26 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.761/1.761, allocations: 205.4 MB / 0.6305 GB, free: 9.992 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008972/0.0008971, allocations: 102.8 kB / 0.7439 GB, free: 5.914 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003923/0.0003924, allocations: 15.81 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2405/0.2409, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9494/1.19, allocations: 409.1 MB / 1.379 GB, free: 3.867 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003836/1.191, allocations: 97.7 kB / 1.379 GB, free: 3.812 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 6.24/7.431, allocations: 1.621 GB / 3 GB, free: 201.4 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.604e-06/7.431, allocations: 0 / 3 GB, free: 201.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0008724/7.432, allocations: 106.6 kB / 3 GB, free: 201.3 MB / 0.948 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.0184/7.45, allocations: 4.686 MB / 3.004 GB, free: 196.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.648e-05/7.451, allocations: 12.02 kB / 3.004 GB, free: 196.6 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002676/7.453, allocations: 427 kB / 3.005 GB, free: 196.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0107/7.464, allocations: 1.633 MB / 3.006 GB, free: 194.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04388/7.508, allocations: 17.98 MB / 3.024 GB, free: 177 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003042/7.508, allocations: 227.4 kB / 3.024 GB, free: 176.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00177/7.51, allocations: 311 kB / 3.024 GB, free: 176.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0131/7.523, allocations: 4.33 MB / 3.029 GB, free: 172 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000198/7.523, allocations: 7.938 kB / 3.029 GB, free: 172 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001322/7.525, allocations: 130 kB / 3.029 GB, free: 171.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001415/7.525, allocations: 129.5 kB / 3.029 GB, free: 171.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007426/7.532, allocations: 3.772 MB / 3.033 GB, free: 167.9 MB / 0.948 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.02815/7.56, allocations: 20.06 MB / 3.052 GB, free: 146.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003417/7.564, allocations: 2.641 MB / 3.055 GB, free: 144.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004557/7.564, allocations: 0.5414 MB / 3.055 GB, free: 143.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.573e-05/7.564, allocations: 60.56 kB / 3.055 GB, free: 143.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=184): time 4.178e-06/7.564, allocations: 0 / 3.055 GB, free: 143.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=184): time 0.01807/7.583, allocations: 6.192 MB / 3.061 GB, free: 137.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.177e-05/7.583, allocations: 73.41 kB / 3.062 GB, free: 137 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004477/7.587, allocations: 3.035 MB / 3.064 GB, free: 134 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005365/7.588, allocations: 73.7 kB / 3.065 GB, free: 133.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001155/7.589, allocations: 1.737 MB / 3.066 GB, free: 132.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006824/7.59, allocations: 0.6285 MB / 3.067 GB, free: 131.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001462/7.59, allocations: 52 kB / 3.067 GB, free: 131.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001317/7.59, allocations: 406.9 kB / 3.067 GB, free: 131.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001779/7.592, allocations: 1.238 MB / 3.068 GB, free: 129.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001992/7.594, allocations: 1.927 MB / 3.07 GB, free: 127.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002026/7.596, allocations: 1.597 MB / 3.072 GB, free: 126 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.026e-05/7.596, allocations: 4 kB / 3.072 GB, free: 126 MB / 0.948 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.008135/7.604, allocations: 4.232 MB / 3.076 GB, free: 121.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001493/7.605, allocations: 7.262 MB / 3.083 GB, free: 114 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.993e-05/7.605, allocations: 19.98 kB / 3.083 GB, free: 114 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006118/7.612, allocations: 1.508 MB / 3.085 GB, free: 112.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002514/7.614, allocations: 495.2 kB / 3.085 GB, free: 112 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005306/7.619, allocations: 4.857 MB / 3.09 GB, free: 107 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004824/7.624, allocations: 445 kB / 3.09 GB, free: 106.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005922/7.625, allocations: 127.9 kB / 3.09 GB, free: 106.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/7.625, allocations: 7.938 kB / 3.09 GB, free: 106.5 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006937/7.632, allocations: 3.951 MB / 3.094 GB, free: 102.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.062e-05/7.632, allocations: 16 kB / 3.094 GB, free: 102.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005794/7.638, allocations: 1.535 MB / 3.096 GB, free: 100.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00226/7.64, allocations: 475.2 kB / 3.096 GB, free: 100.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004417/7.644, allocations: 3.655 MB / 3.1 GB, free: 96.76 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004212/7.649, allocations: 385.7 kB / 3.1 GB, free: 96.38 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006771/7.649, allocations: 116 kB / 3.1 GB, free: 96.27 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 76 * 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 (237): * Single equations (assignments): 232 * 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 {4 7,5 50,3 8} Notification: Performance of prepare postOptimizeDAE: time 0.003862/7.653, allocations: 1.484 MB / 3.102 GB, free: 94.77 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001847/7.655, allocations: 328.1 kB / 3.102 GB, free: 94.45 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00662/7.662, allocations: 3.328 MB / 3.105 GB, free: 91.08 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.03e-05/7.662, allocations: 24 kB / 3.105 GB, free: 91.06 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.041e-05/7.662, allocations: 3.938 kB / 3.105 GB, free: 91.05 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003363/7.665, allocations: 2.731 MB / 3.108 GB, free: 88.29 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01334/7.679, allocations: 7.138 MB / 3.115 GB, free: 81.08 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.856e-06/7.679, allocations: 0 / 3.115 GB, free: 81.08 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001234/7.68, allocations: 283.4 kB / 3.115 GB, free: 80.81 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003324/7.683, allocations: 1.103 MB / 3.116 GB, free: 79.69 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002131/7.683, allocations: 43.98 kB / 3.116 GB, free: 79.65 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006186/7.69, allocations: 10.1 MB / 3.126 GB, free: 68.82 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/7.69, allocations: 4 kB / 3.126 GB, free: 68.82 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007065/7.697, allocations: 4.813 MB / 3.131 GB, free: 63.94 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003065/7.7, allocations: 0.8439 MB / 3.132 GB, free: 63.07 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009814/7.701, allocations: 36 kB / 3.132 GB, free: 63.04 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002791/7.704, allocations: 227.6 kB / 3.132 GB, free: 62.82 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002785/7.704, allocations: 125.8 kB / 3.132 GB, free: 62.69 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002042/7.704, allocations: 91.92 kB / 3.132 GB, free: 62.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.003598/7.708, allocations: 2.359 MB / 3.135 GB, free: 60.25 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.01e-07/7.708, allocations: 0 / 3.135 GB, free: 60.25 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0104/7.718, allocations: 2.276 MB / 3.137 GB, free: 57.97 MB / 0.948 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 (137): * Single equations (assignments): 127 * 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 60} Notification: Performance of Backend phase and start with SimCode phase: time 0.008456/7.727, allocations: 6.138 MB / 3.143 GB, free: 51.86 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01169/7.738, allocations: 5.342 MB / 3.148 GB, free: 46.53 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.16e-05/7.739, allocations: 4 kB / 3.148 GB, free: 46.53 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002639/7.741, allocations: 1.905 MB / 3.15 GB, free: 44.56 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00878/7.75, allocations: 1.773 MB / 3.152 GB, free: 42.87 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02273/7.773, allocations: 22.87 MB / 3.174 GB, free: 19.49 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002447/7.775, allocations: 3.019 MB / 3.177 GB, free: 16.44 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.004981/7.78, allocations: 1.345 MB / 3.178 GB, free: 15.14 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002274/7.783, allocations: 1.514 MB / 3.18 GB, free: 13.63 MB / 0.948 GB Notification: Performance of SimCode: time 8.035e-06/7.783, allocations: 0 / 3.18 GB, free: 13.63 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7345/8.517, allocations: 117.4 MB / 3.294 GB, free: 209.6 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002468/8.517, allocations: 284.1 kB / 3.295 GB, free: 209.3 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.842/14.36, allocations: 4 kB / 3.295 GB, free: 209.3 MB / 0.9636 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Radiators_Examples_RadiatorEN442_2_fmu --startTime=0 --stopTime=10800 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Radiators_Examples_RadiatorEN442_2.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe 2>&1)