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.613/2.613, allocations: 284.9 MB / 292.4 MB, free: 10.53 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.001419/0.001419, allocations: 180.8 kB / 360.6 MB, free: 7.293 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.197/2.197, allocations: 205.3 MB / 0.6191 GB, free: 12.21 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.00111/0.001108, allocations: 90.58 kB / 0.7321 GB, free: 44.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.17e-05/3.162e-05, allocations: 8 kB / 0.8509 GB, free: 3.355 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8351/0.8351, allocations: 115.3 MB / 0.9634 GB, free: 78.59 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.294/2.129, allocations: 408.2 MB / 1.362 GB, free: 159.8 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003352/2.13, allocations: 99.62 kB / 1.362 GB, free: 159.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 8.211/10.34, allocations: 1.608 GB / 2.97 GB, free: 53.32 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.873e-06/10.34, allocations: 0 / 2.97 GB, free: 53.32 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0008581/10.34, allocations: 107.7 kB / 2.97 GB, free: 53.22 MB / 0.9323 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.0163/10.36, allocations: 3.855 MB / 2.974 GB, free: 49.34 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.735e-05/10.36, allocations: 8.031 kB / 2.974 GB, free: 49.33 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01567/10.37, allocations: 1.623 MB / 2.976 GB, free: 47.7 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05928/10.43, allocations: 17.82 MB / 2.993 GB, free: 29.7 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001997/10.43, allocations: 92 kB / 2.993 GB, free: 29.61 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001503/10.43, allocations: 187.9 kB / 2.994 GB, free: 29.43 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01094/10.45, allocations: 3.486 MB / 2.997 GB, free: 25.93 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01256/10.46, allocations: 3.854 MB / 3.001 GB, free: 21.9 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001128/10.46, allocations: 11.92 kB / 3.001 GB, free: 21.89 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006157/10.46, allocations: 8 kB / 3.001 GB, free: 21.88 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001764/10.46, allocations: 145.4 kB / 3.001 GB, free: 21.73 MB / 0.9323 GB Warning: The model contains alias variables with conflicting start and/or 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.04424/10.5, allocations: 19.61 MB / 3.02 GB, free: 0.8789 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007366/10.51, allocations: 2.691 MB / 3.023 GB, free: 14.18 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003823/10.51, allocations: 1.309 MB / 3.024 GB, free: 12.86 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000989/10.52, allocations: 0.5512 MB / 3.024 GB, free: 12.21 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.263e-05/10.52, allocations: 60.5 kB / 3.025 GB, free: 12.14 MB / 0.948 GB Notification: Performance of pre-optimization done (n=184): time 4.168e-06/10.52, allocations: 4 kB / 3.025 GB, free: 12.13 MB / 0.948 GB Notification: Performance of matching and sorting (n=184): time 0.01226/10.53, allocations: 2.972 MB / 3.027 GB, free: 9.133 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.555e-05/10.53, allocations: 73.41 kB / 3.027 GB, free: 9.051 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008008/10.54, allocations: 2.855 MB / 3.03 GB, free: 6.195 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0008703/10.54, allocations: 29.7 kB / 3.03 GB, free: 6.16 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002709/10.54, allocations: 1.747 MB / 3.032 GB, free: 4.395 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001491/10.54, allocations: 0.6043 MB / 3.033 GB, free: 3.781 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003228/10.54, allocations: 4 kB / 3.033 GB, free: 3.777 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.000309/10.54, allocations: 402.9 kB / 3.033 GB, free: 3.379 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003442/10.55, allocations: 1.231 MB / 3.034 GB, free: 2.145 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.709/11.25, allocations: 1.889 MB / 3.036 GB, free: 135.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005865/11.26, allocations: 1.615 MB / 3.038 GB, free: 135.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-05/11.26, allocations: 7.719 kB / 3.038 GB, free: 135.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.01733/11.28, allocations: 4.036 MB / 3.042 GB, free: 135.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001647/11.28, allocations: 7.247 MB / 3.049 GB, free: 128.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001018/11.28, allocations: 16.09 kB / 3.049 GB, free: 128.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008314/11.29, allocations: 1.231 MB / 3.05 GB, free: 128 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004473/11.29, allocations: 0.4983 MB / 3.05 GB, free: 128 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009186/11.3, allocations: 4.92 MB / 3.055 GB, free: 125.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006927/11.31, allocations: 395.6 kB / 3.056 GB, free: 125.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001038/11.31, allocations: 121.7 kB / 3.056 GB, free: 125.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/11.31, allocations: 4 kB / 3.056 GB, free: 125.3 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01309/11.32, allocations: 3.48 MB / 3.059 GB, free: 125.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.163e-05/11.32, allocations: 18.41 kB / 3.059 GB, free: 125.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009701/11.33, allocations: 1.325 MB / 3.06 GB, free: 125.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003877/11.34, allocations: 493.9 kB / 3.061 GB, free: 125.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00729/11.34, allocations: 3.565 MB / 3.064 GB, free: 123.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005988/11.35, allocations: 333 kB / 3.065 GB, free: 123.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008589/11.35, allocations: 116.1 kB / 3.065 GB, free: 123.6 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (247): * Single equations (assignments): 242 * 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 {5 6,5 40,5 6} Notification: Performance of prepare postOptimizeDAE: time 0.0009858/11.35, allocations: 170 kB / 3.065 GB, free: 123.5 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008776/11.36, allocations: 2.782 MB / 3.068 GB, free: 123.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002106/11.36, allocations: 328.7 kB / 3.068 GB, free: 123 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009763/11.37, allocations: 3.05 MB / 3.071 GB, free: 122.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.153e-05/11.37, allocations: 15.56 kB / 3.071 GB, free: 122.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-05/11.37, allocations: 3.844 kB / 3.071 GB, free: 122.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006863/11.38, allocations: 2.486 MB / 3.073 GB, free: 122.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0208/11.4, allocations: 6.505 MB / 3.08 GB, free: 122.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-05/11.4, allocations: 0 / 3.08 GB, free: 122.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002805/11.4, allocations: 287.6 kB / 3.08 GB, free: 122.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005622/11.41, allocations: 0.9523 MB / 3.081 GB, free: 122 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000535/11.41, allocations: 23.86 kB / 3.081 GB, free: 122 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009576/11.42, allocations: 9.725 MB / 3.09 GB, free: 114.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.025e-05/11.42, allocations: 6.75 kB / 3.09 GB, free: 114.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01251/11.43, allocations: 4.528 MB / 3.095 GB, free: 113.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003746/11.44, allocations: 0.8249 MB / 3.096 GB, free: 113.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001345/11.44, allocations: 7.281 kB / 3.096 GB, free: 113.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005412/11.44, allocations: 203.2 kB / 3.096 GB, free: 113.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007692/11.44, allocations: 117.8 kB / 3.096 GB, free: 113.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004147/11.44, allocations: 87.48 kB / 3.096 GB, free: 113.5 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.006126/11.45, allocations: 2.177 MB / 3.098 GB, free: 113.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.423e-06/11.45, allocations: 0 / 3.098 GB, free: 113.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01544/11.47, allocations: 2.148 MB / 3.1 GB, free: 113.2 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (142): * Single equations (assignments): 132 * 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 45} Notification: Performance of Backend phase and start with SimCode phase: time 0.01606/11.48, allocations: 5.818 MB / 3.106 GB, free: 112 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01758/11.5, allocations: 4.857 MB / 3.111 GB, free: 111.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.292e-05/11.5, allocations: 3 kB / 3.111 GB, free: 111.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.004725/11.5, allocations: 1.773 MB / 3.112 GB, free: 111.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01507/11.52, allocations: 1.726 MB / 3.114 GB, free: 111.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02663/11.55, allocations: 7.499 MB / 3.121 GB, free: 110 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005946/11.55, allocations: 3.02 MB / 3.124 GB, free: 109.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.01424/11.57, allocations: 2.253 MB / 3.127 GB, free: 109.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004017/11.57, allocations: 1.437 MB / 3.128 GB, free: 109.2 MB / 0.948 GB Notification: Performance of SimCode: time 1.773e-06/11.57, allocations: 0 / 3.128 GB, free: 109.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3609/11.93, allocations: 113.1 MB / 3.238 GB, free: 104.1 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002799/11.93, allocations: 193.7 kB / 3.239 GB, free: 103.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.03/18.96, allocations: 0 / 3.239 GB, free: 103.9 MB / 0.948 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)