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.729/1.729, allocations: 289.7 MB / 302.2 MB, free: 2.195 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.001275/0.001276, allocations: 187.7 kB / 371.6 MB, free: 3.371 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.194/2.194, allocations: 205.1 MB / 0.6309 GB, free: 11.76 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.001162/0.001162, allocations: 92.14 kB / 0.745 GB, free: 54.71 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.676e-05/4.695e-05, allocations: 4 kB / 0.8663 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3618/0.3619, allocations: 116.3 MB / 0.9799 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.426/1.788, allocations: 410 MB / 1.38 GB, free: 2.766 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003549/1.789, allocations: 95.12 kB / 1.38 GB, free: 2.715 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 7.472/9.261, allocations: 1.616 GB / 2.997 GB, free: 199.3 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.853e-06/9.261, allocations: 0 / 2.997 GB, free: 199.3 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.000708/9.261, allocations: 110.2 kB / 2.997 GB, free: 199.3 MB / 0.9792 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.01357/9.275, allocations: 3.852 MB / 3.001 GB, free: 197.5 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/9.275, allocations: 10.5 kB / 3.001 GB, free: 197.5 MB / 0.9792 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001644/9.277, allocations: 423 kB / 3.001 GB, free: 197.3 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009585/9.286, allocations: 1.626 MB / 3.003 GB, free: 197 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04289/9.329, allocations: 17.86 MB / 3.02 GB, free: 190 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002916/9.33, allocations: 229.1 kB / 3.02 GB, free: 189.9 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001506/9.331, allocations: 312.2 kB / 3.021 GB, free: 189.8 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009509/9.341, allocations: 4.272 MB / 3.025 GB, free: 187.2 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.581e-05/9.341, allocations: 11.7 kB / 3.025 GB, free: 187.2 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004788/9.341, allocations: 133.6 kB / 3.025 GB, free: 187.1 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001655/9.341, allocations: 141.7 kB / 3.025 GB, free: 187.1 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006612/9.348, allocations: 3.685 MB / 3.029 GB, free: 185 MB / 0.9792 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.03382/9.382, allocations: 20.06 MB / 3.048 GB, free: 163.9 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004839/9.387, allocations: 2.599 MB / 3.051 GB, free: 161.3 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002086/9.389, allocations: 1.284 MB / 3.052 GB, free: 160.1 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006396/9.39, allocations: 0.5346 MB / 3.053 GB, free: 159.4 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.503e-05/9.39, allocations: 60.56 kB / 3.053 GB, free: 159.4 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=184): time 4.788e-06/9.39, allocations: 0 / 3.053 GB, free: 159.4 MB / 0.9792 GB Notification: Performance of matching and sorting (n=184): time 0.007277/9.397, allocations: 2.894 MB / 3.055 GB, free: 156.4 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.52e-05/9.397, allocations: 73.41 kB / 3.056 GB, free: 156.3 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007549/9.405, allocations: 3.017 MB / 3.058 GB, free: 153.3 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0009009/9.406, allocations: 69.7 kB / 3.059 GB, free: 153.3 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.002085/9.408, allocations: 1.746 MB / 3.06 GB, free: 151.5 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.001246/9.409, allocations: 0.6287 MB / 3.061 GB, free: 150.9 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005605/9.409, allocations: 44 kB / 3.061 GB, free: 150.8 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0002816/9.41, allocations: 406.9 kB / 3.061 GB, free: 150.4 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002311/9.412, allocations: 1.192 MB / 3.062 GB, free: 149.2 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002654/9.415, allocations: 1.872 MB / 3.064 GB, free: 147.1 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002707/9.417, allocations: 1.549 MB / 3.066 GB, free: 145.5 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.819e-05/9.418, allocations: 7.828 kB / 3.066 GB, free: 145.5 MB / 0.9792 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.009729/9.427, allocations: 4.107 MB / 3.07 GB, free: 141.4 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.001788/9.429, allocations: 7.252 MB / 3.077 GB, free: 133.6 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.366e-05/9.429, allocations: 20 kB / 3.077 GB, free: 133.6 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006549/9.436, allocations: 1.462 MB / 3.078 GB, free: 132.2 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002515/9.438, allocations: 0.4913 MB / 3.079 GB, free: 131.7 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005497/9.444, allocations: 4.759 MB / 3.083 GB, free: 126.8 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005319/9.449, allocations: 453 kB / 3.084 GB, free: 126.4 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008361/9.45, allocations: 123.9 kB / 3.084 GB, free: 126.2 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/9.45, allocations: 4 kB / 3.084 GB, free: 126.2 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009622/9.46, allocations: 3.837 MB / 3.088 GB, free: 122.4 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.852e-05/9.46, allocations: 16 kB / 3.088 GB, free: 122.4 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006166/9.466, allocations: 1.483 MB / 3.089 GB, free: 120.9 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002484/9.469, allocations: 483.2 kB / 3.09 GB, free: 120.4 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004565/9.473, allocations: 3.556 MB / 3.093 GB, free: 116.8 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004583/9.478, allocations: 381.7 kB / 3.094 GB, free: 116.4 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006689/9.478, allocations: 120 kB / 3.094 GB, free: 116.3 MB / 0.9792 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 (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.001279/9.48, allocations: 242 kB / 3.094 GB, free: 116 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001827/9.482, allocations: 332 kB / 3.094 GB, free: 115.7 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006902/9.489, allocations: 3.301 MB / 3.097 GB, free: 112.4 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.399e-05/9.489, allocations: 23.98 kB / 3.097 GB, free: 112.4 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.814e-05/9.489, allocations: 4 kB / 3.097 GB, free: 112.3 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003998/9.493, allocations: 2.684 MB / 3.1 GB, free: 109.6 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01769/9.51, allocations: 7.178 MB / 3.107 GB, free: 102.4 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-05/9.51, allocations: 0 / 3.107 GB, free: 102.4 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001535/9.512, allocations: 279.6 kB / 3.107 GB, free: 102.1 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003989/9.516, allocations: 1.104 MB / 3.108 GB, free: 101 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003706/9.516, allocations: 47.98 kB / 3.108 GB, free: 101 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007244/9.524, allocations: 10.03 MB / 3.118 GB, free: 90.21 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.207e-06/9.524, allocations: 4 kB / 3.118 GB, free: 90.2 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009028/9.533, allocations: 4.81 MB / 3.123 GB, free: 85.34 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003608/9.536, allocations: 0.84 MB / 3.124 GB, free: 84.47 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001569/9.538, allocations: 40 kB / 3.124 GB, free: 84.43 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00397/9.542, allocations: 231.5 kB / 3.124 GB, free: 84.21 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004075/9.542, allocations: 121.8 kB / 3.124 GB, free: 84.09 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000387/9.543, allocations: 95.88 kB / 3.124 GB, free: 83.99 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.005415/9.548, allocations: 2.329 MB / 3.127 GB, free: 81.67 MB / 0.9792 GB Notification: Performance of sort global known variables: time 4.51e-07/9.548, allocations: 0 / 3.127 GB, free: 81.67 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0124/9.561, allocations: 2.276 MB / 3.129 GB, free: 79.39 MB / 0.9792 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 (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.01208/9.573, allocations: 6.097 MB / 3.135 GB, free: 73.32 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0133/9.586, allocations: 5.311 MB / 3.14 GB, free: 68.02 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.362e-05/9.586, allocations: 4 kB / 3.14 GB, free: 68.02 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.002979/9.589, allocations: 1.877 MB / 3.142 GB, free: 66.08 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01021/9.599, allocations: 1.773 MB / 3.143 GB, free: 64.38 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02074/9.62, allocations: 7.687 MB / 3.151 GB, free: 56.67 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003349/9.624, allocations: 3.032 MB / 3.154 GB, free: 53.62 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.00845/9.632, allocations: 2.192 MB / 3.156 GB, free: 51.5 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003092/9.635, allocations: 1.444 MB / 3.157 GB, free: 50.05 MB / 0.9792 GB Notification: Performance of SimCode: time 1.933e-06/9.635, allocations: 0 / 3.157 GB, free: 50.05 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.092/10.73, allocations: 123.8 MB / 3.278 GB, free: 208.3 MB / 0.9948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002387/10.73, allocations: 230.7 kB / 3.279 GB, free: 208 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.585/17.31, allocations: 0 / 3.279 GB, free: 208 MB / 0.9948 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)