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.897/1.897, allocations: 289.9 MB / 297.4 MB, free: 6.387 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.001247/0.001247, allocations: 184.8 kB / 366.7 MB, free: 1.672 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.141/2.141, allocations: 205.2 MB / 0.626 GB, free: 7.199 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.0009829/0.0009831, allocations: 107 kB / 0.7401 GB, free: 39.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.08e-05/2.089e-05, allocations: 4 kB / 0.8598 GB, free: 13.01 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8141/0.8142, allocations: 116.3 MB / 0.9733 GB, free: 76.3 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.319/2.133, allocations: 409.3 MB / 1.373 GB, free: 147.2 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002755/2.133, allocations: 94.75 kB / 1.373 GB, free: 147.2 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.009/8.143, allocations: 1.608 GB / 2.981 GB, free: 97.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.884e-06/8.143, allocations: 0 / 2.981 GB, free: 97.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0007177/8.144, allocations: 106.8 kB / 2.982 GB, free: 97.8 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.01224/8.156, allocations: 3.842 MB / 2.985 GB, free: 93.92 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/8.156, allocations: 12.03 kB / 2.985 GB, free: 93.91 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009885/8.166, allocations: 1.634 MB / 2.987 GB, free: 92.27 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03855/8.204, allocations: 17.83 MB / 3.004 GB, free: 74.58 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001934/8.205, allocations: 103.9 kB / 3.004 GB, free: 74.48 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001658/8.206, allocations: 180 kB / 3.005 GB, free: 74.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006649/8.213, allocations: 3.486 MB / 3.008 GB, free: 70.81 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006447/8.219, allocations: 3.855 MB / 3.012 GB, free: 66.77 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.897e-05/8.22, allocations: 7.938 kB / 3.012 GB, free: 66.77 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003643/8.22, allocations: 8 kB / 3.012 GB, free: 66.76 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001144/8.22, allocations: 145.3 kB / 3.012 GB, free: 66.61 MB / 0.948 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.02576/8.246, allocations: 19.61 MB / 3.031 GB, free: 45.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00335/8.249, allocations: 2.693 MB / 3.034 GB, free: 43.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001375/8.251, allocations: 1.313 MB / 3.035 GB, free: 41.89 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004541/8.251, allocations: 0.5387 MB / 3.035 GB, free: 41.25 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.032e-05/8.251, allocations: 61.2 kB / 3.036 GB, free: 41.18 MB / 0.948 GB Notification: Performance of pre-optimization done (n=184): time 3.176e-06/8.251, allocations: 0 / 3.036 GB, free: 41.18 MB / 0.948 GB Notification: Performance of matching and sorting (n=184): time 0.005986/8.257, allocations: 2.972 MB / 3.038 GB, free: 38.18 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.164e-05/8.257, allocations: 77.41 kB / 3.039 GB, free: 38.09 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004379/8.262, allocations: 2.847 MB / 3.041 GB, free: 35.24 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006906/8.262, allocations: 33.7 kB / 3.041 GB, free: 35.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001304/8.264, allocations: 1.75 MB / 3.043 GB, free: 33.44 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000942/8.265, allocations: 0.6005 MB / 3.044 GB, free: 32.83 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001516/8.265, allocations: 0 / 3.044 GB, free: 32.83 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001408/8.265, allocations: 406.9 kB / 3.044 GB, free: 32.43 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001539/8.266, allocations: 1.231 MB / 3.045 GB, free: 31.19 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001754/8.268, allocations: 1.898 MB / 3.047 GB, free: 29 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002386/8.271, allocations: 1.608 MB / 3.049 GB, free: 27.39 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.069e-05/8.271, allocations: 4 kB / 3.049 GB, free: 27.39 MB / 0.948 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.007519/8.278, allocations: 4.035 MB / 3.053 GB, free: 23.34 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001326/8.279, allocations: 7.25 MB / 3.06 GB, free: 15.59 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.379e-05/8.279, allocations: 20 kB / 3.06 GB, free: 15.57 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004248/8.284, allocations: 1.235 MB / 3.061 GB, free: 14.32 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002356/8.286, allocations: 0.5108 MB / 3.061 GB, free: 13.81 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004936/8.291, allocations: 4.914 MB / 3.066 GB, free: 8.77 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00464/8.296, allocations: 397 kB / 3.067 GB, free: 8.379 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005033/8.296, allocations: 128 kB / 3.067 GB, free: 8.254 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/8.296, allocations: 5.406 kB / 3.067 GB, free: 8.25 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005774/8.302, allocations: 3.474 MB / 3.07 GB, free: 4.77 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.789e-05/8.302, allocations: 19.94 kB / 3.07 GB, free: 4.75 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004719/8.307, allocations: 1.329 MB / 3.071 GB, free: 3.41 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00212/8.309, allocations: 483.3 kB / 3.072 GB, free: 2.938 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7082/9.017, allocations: 3.566 MB / 3.075 GB, free: 143.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004813/9.022, allocations: 335.5 kB / 3.076 GB, free: 143.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006622/9.023, allocations: 114.9 kB / 3.076 GB, free: 143.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.0008992/9.024, allocations: 162.9 kB / 3.076 GB, free: 143.5 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007011/9.031, allocations: 2.774 MB / 3.079 GB, free: 143.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001639/9.032, allocations: 329.8 kB / 3.079 GB, free: 143.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006616/9.039, allocations: 3.043 MB / 3.082 GB, free: 143.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.232e-05/9.039, allocations: 19 kB / 3.082 GB, free: 143.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.422e-05/9.039, allocations: 1.562 kB / 3.082 GB, free: 143.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004266/9.043, allocations: 2.485 MB / 3.084 GB, free: 143 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0139/9.057, allocations: 6.51 MB / 3.091 GB, free: 142.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-05/9.057, allocations: 8.266 kB / 3.091 GB, free: 142.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001345/9.059, allocations: 291.8 kB / 3.091 GB, free: 142.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003116/9.062, allocations: 0.9507 MB / 3.092 GB, free: 142.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000205/9.062, allocations: 23.05 kB / 3.092 GB, free: 142.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006512/9.069, allocations: 9.733 MB / 3.101 GB, free: 134.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.143e-06/9.069, allocations: 0 / 3.101 GB, free: 134.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007284/9.076, allocations: 4.523 MB / 3.106 GB, free: 134.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00275/9.079, allocations: 0.8266 MB / 3.107 GB, free: 133.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001004/9.08, allocations: 3.875 kB / 3.107 GB, free: 133.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002763/9.082, allocations: 198.5 kB / 3.107 GB, free: 133.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002439/9.083, allocations: 122.4 kB / 3.107 GB, free: 133.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001775/9.083, allocations: 85.5 kB / 3.107 GB, free: 133.9 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.003539/9.086, allocations: 2.171 MB / 3.109 GB, free: 133.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.41e-07/9.086, allocations: 0 / 3.109 GB, free: 133.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01095/9.097, allocations: 2.153 MB / 3.111 GB, free: 133.6 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.01134/9.109, allocations: 5.829 MB / 3.117 GB, free: 132.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01227/9.121, allocations: 4.858 MB / 3.122 GB, free: 132.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.195e-05/9.121, allocations: 1.625 kB / 3.122 GB, free: 132.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.003155/9.124, allocations: 1.771 MB / 3.123 GB, free: 131.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01107/9.135, allocations: 1.726 MB / 3.125 GB, free: 131.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02511/9.161, allocations: 7.503 MB / 3.132 GB, free: 130.4 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004724/9.165, allocations: 3.022 MB / 3.135 GB, free: 129.6 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.01117/9.177, allocations: 2.25 MB / 3.138 GB, free: 129.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003649/9.18, allocations: 1.434 MB / 3.139 GB, free: 129.6 MB / 0.948 GB Notification: Performance of SimCode: time 1.693e-06/9.18, allocations: 3.219 kB / 3.139 GB, free: 129.6 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.197/9.377, allocations: 113.1 MB / 3.249 GB, free: 124.7 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001539/9.377, allocations: 177.6 kB / 3.25 GB, free: 124.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.445/15.82, allocations: 6.469 kB / 3.25 GB, free: 124.5 MB / 0.948 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)