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/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_Radiators_Examples_RadiatorEN442_2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.721/1.721, allocations: 292.6 MB / 307.5 MB, free: 5.223 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.001192/0.001192, allocations: 185 kB / 377.1 MB, free: 1.555 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.681/1.681, allocations: 205.4 MB / 0.6366 GB, free: 9.527 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009282/0.0009283, allocations: 88.8 kB / 0.7509 GB, free: 62.61 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000387/0.0003869, allocations: 8 kB / 0.8749 GB, free: 11.26 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3017/0.3021, allocations: 116.3 MB / 0.9884 GB, free: 6.793 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.608/1.91, allocations: 410.1 MB / 1.389 GB, free: 279.6 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002876/1.91, allocations: 97.69 kB / 1.389 GB, free: 279.6 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 6.035/7.945, allocations: 1.621 GB / 3.01 GB, free: 146.4 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.286e-06/7.945, allocations: 0 / 3.01 GB, free: 146.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0007251/7.946, allocations: 106.6 kB / 3.01 GB, free: 146.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.01947/7.965, allocations: 4.702 MB / 3.014 GB, free: 141.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.785e-05/7.966, allocations: 8.031 kB / 3.014 GB, free: 141.6 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002924/7.968, allocations: 423.3 kB / 3.015 GB, free: 141.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01017/7.979, allocations: 1.63 MB / 3.016 GB, free: 139.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04027/8.019, allocations: 17.98 MB / 3.034 GB, free: 121.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002721/8.019, allocations: 235.3 kB / 3.034 GB, free: 121.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001266/8.021, allocations: 307.6 kB / 3.034 GB, free: 121.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008362/8.029, allocations: 4.328 MB / 3.039 GB, free: 116.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.307e-05/8.029, allocations: 7.938 kB / 3.039 GB, free: 116.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004402/8.03, allocations: 128.4 kB / 3.039 GB, free: 116.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001311/8.03, allocations: 133.5 kB / 3.039 GB, free: 116.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006085/8.036, allocations: 3.768 MB / 3.043 GB, free: 112.7 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.03351/8.069, allocations: 20.06 MB / 3.062 GB, free: 91.56 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004932/8.074, allocations: 2.636 MB / 3.065 GB, free: 88.93 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005938/8.075, allocations: 0.5305 MB / 3.065 GB, free: 88.29 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.832e-05/8.075, allocations: 64.56 kB / 3.065 GB, free: 88.22 MB / 0.948 GB Notification: Performance of pre-optimization done (n=184): time 4.478e-06/8.075, allocations: 0 / 3.065 GB, free: 88.22 MB / 0.948 GB Notification: Performance of matching and sorting (n=184): time 0.01897/8.094, allocations: 6.191 MB / 3.071 GB, free: 81.89 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.008e-05/8.094, allocations: 69.41 kB / 3.071 GB, free: 81.81 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006453/8.101, allocations: 3.046 MB / 3.074 GB, free: 78.77 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.001193/8.102, allocations: 73.7 kB / 3.074 GB, free: 78.69 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001684/8.104, allocations: 1.738 MB / 3.076 GB, free: 76.94 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001389/8.105, allocations: 0.631 MB / 3.077 GB, free: 76.31 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001863/8.105, allocations: 48 kB / 3.077 GB, free: 76.27 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002311/8.105, allocations: 414.8 kB / 3.077 GB, free: 75.86 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002044/8.107, allocations: 1.238 MB / 3.078 GB, free: 74.61 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002124/8.11, allocations: 1.919 MB / 3.08 GB, free: 72.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002113/8.112, allocations: 1.597 MB / 3.082 GB, free: 70.81 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.21e-05/8.112, allocations: 8 kB / 3.082 GB, free: 70.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.00773/8.119, allocations: 4.234 MB / 3.086 GB, free: 66.55 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001512/8.121, allocations: 7.256 MB / 3.093 GB, free: 58.79 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.093e-05/8.121, allocations: 20 kB / 3.093 GB, free: 58.77 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005926/8.127, allocations: 1.497 MB / 3.095 GB, free: 57.27 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002406/8.129, allocations: 0.4946 MB / 3.095 GB, free: 56.78 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004965/8.134, allocations: 4.853 MB / 3.1 GB, free: 51.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004923/8.139, allocations: 453 kB / 3.1 GB, free: 51.36 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003639/8.14, allocations: 119.9 kB / 3.1 GB, free: 51.24 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/8.14, allocations: 6.031 kB / 3.1 GB, free: 51.24 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00668/8.146, allocations: 3.958 MB / 3.104 GB, free: 47.27 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.931e-05/8.146, allocations: 19.12 kB / 3.104 GB, free: 47.25 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005964/8.152, allocations: 1.54 MB / 3.106 GB, free: 45.71 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002116/8.155, allocations: 467.3 kB / 3.106 GB, free: 45.25 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00422/8.159, allocations: 3.658 MB / 3.11 GB, free: 41.52 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004408/8.163, allocations: 381.8 kB / 3.11 GB, free: 41.14 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003581/8.164, allocations: 116 kB / 3.11 GB, free: 41.03 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.003387/8.167, allocations: 1.48 MB / 3.112 GB, free: 39.54 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001656/8.169, allocations: 328.1 kB / 3.112 GB, free: 39.21 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00594/8.175, allocations: 3.339 MB / 3.115 GB, free: 35.84 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-05/8.175, allocations: 20 kB / 3.115 GB, free: 35.82 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.257e-05/8.175, allocations: 3.953 kB / 3.115 GB, free: 35.82 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003613/8.178, allocations: 2.719 MB / 3.118 GB, free: 33.07 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01421/8.193, allocations: 7.15 MB / 3.125 GB, free: 25.85 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.548e-06/8.193, allocations: 0 / 3.125 GB, free: 25.85 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001269/8.194, allocations: 279.6 kB / 3.125 GB, free: 25.57 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003376/8.197, allocations: 1.103 MB / 3.126 GB, free: 24.46 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001774/8.197, allocations: 43.98 kB / 3.126 GB, free: 24.41 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006147/8.204, allocations: 10.1 MB / 3.136 GB, free: 13.59 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/8.204, allocations: 0 / 3.136 GB, free: 13.59 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006976/8.211, allocations: 4.821 MB / 3.141 GB, free: 8.707 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003107/8.214, allocations: 0.8323 MB / 3.142 GB, free: 7.852 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006955/8.215, allocations: 43.98 kB / 3.142 GB, free: 7.809 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002405/8.217, allocations: 243.4 kB / 3.142 GB, free: 7.57 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002774/8.217, allocations: 117.8 kB / 3.142 GB, free: 7.453 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000186/8.217, allocations: 87.94 kB / 3.142 GB, free: 7.367 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.00347/8.221, allocations: 2.363 MB / 3.144 GB, free: 5.012 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.71e-07/8.221, allocations: 0 / 3.144 GB, free: 5.012 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.008872/8.23, allocations: 2.268 MB / 3.147 GB, free: 2.738 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.009094/8.239, allocations: 6.149 MB / 3.153 GB, free: 12.61 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.01326/8.252, allocations: 5.342 MB / 3.158 GB, free: 7.277 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.273e-05/8.252, allocations: 3.984 kB / 3.158 GB, free: 7.273 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.00315/8.255, allocations: 1.905 MB / 3.16 GB, free: 5.309 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009795/8.265, allocations: 1.775 MB / 3.161 GB, free: 3.594 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6121/8.877, allocations: 22.85 MB / 3.184 GB, free: 162.7 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002629/8.88, allocations: 3.02 MB / 3.187 GB, free: 162 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.005719/8.886, allocations: 1.341 MB / 3.188 GB, free: 161.9 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002316/8.888, allocations: 1.507 MB / 3.19 GB, free: 161.9 MB / 0.9636 GB Notification: Performance of SimCode: time 7.12e-07/8.888, allocations: 0 / 3.19 GB, free: 161.9 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1959/9.084, allocations: 117.4 MB / 3.304 GB, free: 157.4 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001873/9.084, allocations: 264.1 kB / 3.304 GB, free: 157 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.794/15.88, allocations: 0 / 3.304 GB, free: 157 MB / 0.9636 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_Radiators_Examples_RadiatorEN442_2_fmu --startTime=0 --stopTime=10800 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_Radiators_Examples_RadiatorEN442_2.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe 2>&1)