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.853/1.853, allocations: 288.2 MB / 303.2 MB, free: 8.152 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.00118/0.00118, allocations: 183.6 kB / 371.8 MB, free: 10.27 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.892/1.892, allocations: 205.4 MB / 0.6305 GB, free: 9.984 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.0009167/0.0009169, allocations: 90.86 kB / 0.7439 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004421/0.0004424, allocations: 15.56 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2601/0.2606, allocations: 115.3 MB / 0.9795 GB, free: 27.6 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2): time 0.03236/0.293, allocations: 39.16 MB / 1.018 GB, free: 4.332 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01744/0.3105, allocations: 10.9 MB / 1.028 GB, free: 9.414 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003827/0.3144, allocations: 55.62 kB / 1.028 GB, free: 9.359 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.003558/0.318, allocations: 0.684 MB / 1.029 GB, free: 8.672 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.009372/0.3274, allocations: 2.204 MB / 1.031 GB, free: 6.465 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.005279/0.3327, allocations: 1.431 MB / 1.033 GB, free: 5.059 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.01123/0.3439, allocations: 7.266 MB / 1.04 GB, free: 13.78 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005784/0.3497, allocations: 3.9 MB / 1.044 GB, free: 9.828 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007579/0.3574, allocations: 2.896 MB / 1.046 GB, free: 6.922 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006142/0.3635, allocations: 2.463 MB / 1.049 GB, free: 4.449 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.001589/0.3651, allocations: 192 kB / 1.049 GB, free: 4.262 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005732/0.3709, allocations: 1.112 MB / 1.05 GB, free: 3.148 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.002745/0.3737, allocations: 0.9497 MB / 1.051 GB, free: 2.195 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.003218/0.3769, allocations: 0.937 MB / 1.052 GB, free: 1.25 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.0108/0.3878, allocations: 6.305 MB / 1.058 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.3878, allocations: 0 / 1.058 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.865e-06/0.3878, allocations: 3.938 kB / 1.058 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0003415/0.3882, allocations: 0 / 1.058 GB, free: 10.93 MB / 0.6823 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.0142/0.4024, allocations: 4.492 MB / 1.062 GB, free: 6.359 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.165e-05/0.4024, allocations: 8.031 kB / 1.062 GB, free: 6.352 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00206/0.4045, allocations: 421 kB / 1.063 GB, free: 5.93 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008473/0.413, allocations: 1.224 MB / 1.064 GB, free: 4.699 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.574/0.9871, allocations: 4.722 MB / 1.069 GB, free: 81.88 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004761/0.9876, allocations: 225.9 kB / 1.069 GB, free: 81.87 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001825/0.9895, allocations: 303.6 kB / 1.069 GB, free: 81.87 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01151/1.001, allocations: 4.454 MB / 1.074 GB, free: 80.59 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-05/1.001, allocations: 9.359 kB / 1.074 GB, free: 80.58 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003869/1.002, allocations: 130 kB / 1.074 GB, free: 80.49 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000232/1.002, allocations: 138.2 kB / 1.074 GB, free: 80.48 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008982/1.011, allocations: 3.794 MB / 1.077 GB, free: 79.21 MB / 0.6823 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.03919/1.05, allocations: 20.78 MB / 1.098 GB, free: 65.75 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004165/1.054, allocations: 2.288 MB / 1.1 GB, free: 64.92 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005153/1.055, allocations: 0.5337 MB / 1.101 GB, free: 64.35 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.752e-05/1.055, allocations: 61.06 kB / 1.101 GB, free: 64.29 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=160): time 4.879e-06/1.055, allocations: 0 / 1.101 GB, free: 64.29 MB / 0.6823 GB Notification: Performance of matching and sorting (n=160): time 0.02207/1.077, allocations: 6.181 MB / 1.107 GB, free: 61.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.128e-05/1.077, allocations: 72.56 kB / 1.107 GB, free: 61.03 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005852/1.083, allocations: 3.553 MB / 1.11 GB, free: 59.18 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0007662/1.084, allocations: 65.92 kB / 1.11 GB, free: 59.12 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001556/1.085, allocations: 1.753 MB / 1.112 GB, free: 57.66 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007839/1.086, allocations: 0.5531 MB / 1.112 GB, free: 57.18 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001511/1.086, allocations: 45 kB / 1.113 GB, free: 57.14 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001549/1.086, allocations: 402.3 kB / 1.113 GB, free: 56.77 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003062/1.089, allocations: 1.351 MB / 1.114 GB, free: 56.1 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003234/1.093, allocations: 1.927 MB / 1.116 GB, free: 54.7 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003313/1.096, allocations: 1.66 MB / 1.118 GB, free: 53.84 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-05/1.096, allocations: 4.406 kB / 1.118 GB, free: 53.84 MB / 0.6823 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.014/1.11, allocations: 4.924 MB / 1.123 GB, free: 51.41 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001158/1.111, allocations: 6.217 MB / 1.129 GB, free: 44.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.284e-05/1.111, allocations: 14.53 kB / 1.129 GB, free: 44.82 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01591/1.127, allocations: 2.867 MB / 1.131 GB, free: 43.59 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002603/1.13, allocations: 0.503 MB / 1.132 GB, free: 43.44 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01/1.14, allocations: 5.612 MB / 1.137 GB, free: 39.26 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005949/1.146, allocations: 0.5108 MB / 1.138 GB, free: 38.97 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007631/1.147, allocations: 109.7 kB / 1.138 GB, free: 38.93 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/1.147, allocations: 7.938 kB / 1.138 GB, free: 38.93 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01424/1.161, allocations: 4.614 MB / 1.143 GB, free: 35.04 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.09e-05/1.161, allocations: 12 kB / 1.143 GB, free: 35.03 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01385/1.175, allocations: 2.809 MB / 1.145 GB, free: 32.22 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002216/1.177, allocations: 475 kB / 1.146 GB, free: 31.76 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009256/1.186, allocations: 4.416 MB / 1.15 GB, free: 27.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005126/1.192, allocations: 485.5 kB / 1.15 GB, free: 26.79 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005885/1.192, allocations: 107.9 kB / 1.151 GB, free: 26.69 MB / 0.6823 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.004018/1.196, allocations: 1.468 MB / 1.152 GB, free: 25.21 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001858/1.198, allocations: 324.2 kB / 1.152 GB, free: 24.89 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006021/1.204, allocations: 3.053 MB / 1.155 GB, free: 21.82 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.651e-05/1.204, allocations: 20 kB / 1.155 GB, free: 21.8 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.558e-05/1.204, allocations: 3.938 kB / 1.155 GB, free: 21.79 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003422/1.208, allocations: 2.493 MB / 1.158 GB, free: 19.27 MB / 0.6823 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.01411/1.222, allocations: 6.932 MB / 1.165 GB, free: 12.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.323e-06/1.222, allocations: 0 / 1.165 GB, free: 12.27 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00114/1.223, allocations: 268.1 kB / 1.165 GB, free: 12 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002898/1.226, allocations: 0.9411 MB / 1.166 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001286/1.226, allocations: 47.97 kB / 1.166 GB, free: 11 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00657/1.233, allocations: 10.45 MB / 1.176 GB, free: 15.81 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/1.233, allocations: 0 / 1.176 GB, free: 15.81 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007783/1.24, allocations: 4.423 MB / 1.18 GB, free: 11.32 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003169/1.244, allocations: 0.8596 MB / 1.181 GB, free: 10.44 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001009/1.245, allocations: 39.94 kB / 1.181 GB, free: 10.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003536/1.248, allocations: 290.1 kB / 1.181 GB, free: 10.12 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002989/1.248, allocations: 121.8 kB / 1.182 GB, free: 10 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003004/1.249, allocations: 83.94 kB / 1.182 GB, free: 9.918 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.005189/1.254, allocations: 2.492 MB / 1.184 GB, free: 7.434 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.7e-07/1.254, allocations: 0 / 1.184 GB, free: 7.434 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.01003/1.264, allocations: 2.297 MB / 1.186 GB, free: 5.152 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 (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.009256/1.273, allocations: 5.518 MB / 1.192 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.01956/1.293, allocations: 5.831 MB / 1.197 GB, free: 9.812 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.259e-05/1.293, allocations: 3.938 kB / 1.197 GB, free: 9.809 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.003597/1.297, allocations: 1.819 MB / 1.199 GB, free: 7.926 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01017/1.307, allocations: 1.837 MB / 1.201 GB, free: 6.125 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03166/1.339, allocations: 21.03 MB / 1.222 GB, free: 0.6094 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004578/1.343, allocations: 3.024 MB / 1.224 GB, free: 13.56 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.005224/1.348, allocations: 1.291 MB / 1.226 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002929/1.351, allocations: 1.503 MB / 1.227 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of SimCode: time 4.108e-06/1.351, allocations: 4 kB / 1.227 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1992/1.551, allocations: 118.5 MB / 1.343 GB, free: 4.863 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002744/1.551, allocations: 271.2 kB / 1.343 GB, free: 4.512 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.801/7.352, allocations: 6.656 kB / 1.343 GB, free: 4.508 MB / 0.8542 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)