Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0/package.mo): time 2.603/2.603, allocations: 287.3 MB / 302.3 MB, free: 8.348 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.001601/0.001601, allocations: 177.9 kB / 370.8 MB, free: 10.89 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.144/2.144, allocations: 205.4 MB / 0.6295 GB, free: 10.62 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.001153/0.001153, allocations: 105.9 kB / 0.7428 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00049/0.00049, allocations: 11.28 kB / 0.8657 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2162/0.2167, allocations: 115.3 MB / 0.9783 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.291/1.508, allocations: 408.9 MB / 1.378 GB, free: 5.305 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003366/1.508, allocations: 101.3 kB / 1.378 GB, free: 5.246 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 8.976/10.48, allocations: 1.621 GB / 2.998 GB, free: 202.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.365e-06/10.48, allocations: 0 / 2.998 GB, free: 202.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0008115/10.49, allocations: 117.7 kB / 2.998 GB, free: 202.5 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.02072/10.51, allocations: 4.682 MB / 3.003 GB, free: 199.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.462e-05/10.51, allocations: 11.62 kB / 3.003 GB, free: 199.6 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002237/10.51, allocations: 424.2 kB / 3.003 GB, free: 199.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01596/10.52, allocations: 1.632 MB / 3.005 GB, free: 198.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05983/10.58, allocations: 17.99 MB / 3.023 GB, free: 181.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002917/10.58, allocations: 225.7 kB / 3.023 GB, free: 181.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001457/10.59, allocations: 309.9 kB / 3.023 GB, free: 180.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01232/10.6, allocations: 4.329 MB / 3.027 GB, free: 176.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001237/10.6, allocations: 11.92 kB / 3.027 GB, free: 176.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006287/10.6, allocations: 126 kB / 3.027 GB, free: 176.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001921/10.6, allocations: 137 kB / 3.028 GB, free: 176 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01149/10.61, allocations: 3.764 MB / 3.031 GB, free: 172.3 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.04351/10.65, allocations: 20.07 MB / 3.051 GB, free: 151.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006604/10.66, allocations: 2.624 MB / 3.053 GB, free: 148.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007037/10.66, allocations: 0.5349 MB / 3.054 GB, free: 148 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.928e-05/10.66, allocations: 71.09 kB / 3.054 GB, free: 147.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=184): time 4.799e-06/10.66, allocations: 0 / 3.054 GB, free: 147.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=184): time 0.03394/10.7, allocations: 6.19 MB / 3.06 GB, free: 141.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.695e-05/10.7, allocations: 69.41 kB / 3.06 GB, free: 141.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007219/10.7, allocations: 3.039 MB / 3.063 GB, free: 138.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0009127/10.7, allocations: 73.7 kB / 3.063 GB, free: 138.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001836/10.71, allocations: 1.739 MB / 3.065 GB, free: 136.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001261/10.71, allocations: 0.6293 MB / 3.065 GB, free: 136 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004004/10.71, allocations: 56 kB / 3.066 GB, free: 135.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002419/10.71, allocations: 406.8 kB / 3.066 GB, free: 135.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003977/10.71, allocations: 1.246 MB / 3.067 GB, free: 134.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00478/10.72, allocations: 1.923 MB / 3.069 GB, free: 132.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004671/10.72, allocations: 1.593 MB / 3.071 GB, free: 130.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.792e-05/10.72, allocations: 4 kB / 3.071 GB, free: 130.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.0161/10.74, allocations: 4.238 MB / 3.075 GB, free: 126.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001581/10.74, allocations: 7.248 MB / 3.082 GB, free: 118.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.091e-05/10.74, allocations: 16 kB / 3.082 GB, free: 118.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01134/10.75, allocations: 1.511 MB / 3.083 GB, free: 116.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004353/10.76, allocations: 495.2 kB / 3.084 GB, free: 116.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009404/10.76, allocations: 4.859 MB / 3.089 GB, free: 111.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006936/10.77, allocations: 445.1 kB / 3.089 GB, free: 111 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009117/10.77, allocations: 123.9 kB / 3.089 GB, free: 110.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/10.77, allocations: 4 kB / 3.089 GB, free: 110.9 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01407/10.79, allocations: 3.959 MB / 3.093 GB, free: 106.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.054e-05/10.79, allocations: 19.94 kB / 3.093 GB, free: 106.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01126/10.8, allocations: 1.531 MB / 3.094 GB, free: 105.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003775/10.8, allocations: 481.3 kB / 3.095 GB, free: 104.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008185/10.81, allocations: 3.654 MB / 3.098 GB, free: 101.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005944/10.82, allocations: 381.7 kB / 3.099 GB, free: 100.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008003/10.82, allocations: 116 kB / 3.099 GB, free: 100.7 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.004241/10.82, allocations: 1.494 MB / 3.1 GB, free: 99.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001634/10.82, allocations: 328.1 kB / 3.101 GB, free: 98.87 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009222/10.83, allocations: 3.324 MB / 3.104 GB, free: 95.51 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.06e-05/10.83, allocations: 20 kB / 3.104 GB, free: 95.49 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.651e-05/10.83, allocations: 11.89 kB / 3.104 GB, free: 95.48 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006886/10.84, allocations: 2.727 MB / 3.107 GB, free: 92.73 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02022/10.86, allocations: 7.135 MB / 3.114 GB, free: 85.52 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.554e-05/10.86, allocations: 4.031 kB / 3.114 GB, free: 85.52 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00274/10.86, allocations: 283.5 kB / 3.114 GB, free: 85.24 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006462/10.87, allocations: 1.1 MB / 3.115 GB, free: 84.13 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005471/10.87, allocations: 51.98 kB / 3.115 GB, free: 84.08 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01036/10.88, allocations: 10.09 MB / 3.125 GB, free: 73.27 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/10.88, allocations: 4 kB / 3.125 GB, free: 73.26 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01312/10.89, allocations: 4.813 MB / 3.13 GB, free: 68.38 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003536/10.9, allocations: 0.8436 MB / 3.13 GB, free: 67.52 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001308/10.9, allocations: 39.98 kB / 3.13 GB, free: 67.48 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005047/10.9, allocations: 235.5 kB / 3.131 GB, free: 67.25 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007308/10.9, allocations: 125.8 kB / 3.131 GB, free: 67.12 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003748/10.9, allocations: 87.94 kB / 3.131 GB, free: 67.04 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.005699/10.91, allocations: 2.355 MB / 3.133 GB, free: 64.69 MB / 0.948 GB Notification: Performance of sort global known variables: time 7.71e-07/10.91, allocations: 0 / 3.133 GB, free: 64.69 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01422/10.92, allocations: 2.276 MB / 3.135 GB, free: 62.41 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.01515/10.94, allocations: 6.145 MB / 3.141 GB, free: 56.29 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.02235/10.96, allocations: 5.338 MB / 3.147 GB, free: 50.97 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.213e-05/10.96, allocations: 8.188 kB / 3.147 GB, free: 50.96 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.005317/10.97, allocations: 1.897 MB / 3.148 GB, free: 49 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01466/10.98, allocations: 1.767 MB / 3.15 GB, free: 47.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03233/11.01, allocations: 22.87 MB / 3.173 GB, free: 23.91 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005891/11.02, allocations: 3.019 MB / 3.175 GB, free: 20.86 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.009019/11.03, allocations: 1.354 MB / 3.177 GB, free: 19.55 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004439/11.03, allocations: 1.507 MB / 3.178 GB, free: 18.05 MB / 0.948 GB Notification: Performance of SimCode: time 1.523e-06/11.03, allocations: 0 / 3.178 GB, free: 18.05 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.034/12.07, allocations: 117.4 MB / 3.293 GB, free: 215.9 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002967/12.07, allocations: 268.8 kB / 3.293 GB, free: 215.5 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.628/18.7, allocations: 0 / 3.293 GB, free: 215.5 MB / 0.9636 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Radiators_Examples_RadiatorEN442_2_fmu --startTime=0 --stopTime=10800 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Radiators_Examples_RadiatorEN442_2.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe 2>&1)