Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_Radiators_Examples_RadiatorEN442_2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.459/2.459, allocations: 393.5 MB / 408.4 MB, free: 11.03 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001342/0.001342, allocations: 187.9 kB / 0.4901 GB, free: 2.316 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.502/1.502, allocations: 223.1 MB / 0.7992 GB, free: 15.67 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 104.2 kB / 0.9396 GB, free: 2.902 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003914/0.0003914, allocations: 10.84 kB / 1.09 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2773/0.2777, allocations: 143 MB / 1.229 GB, free: 85.43 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.07/1.348, allocations: 421.9 MB / 1.641 GB, free: 3.34 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003829/1.348, allocations: 98.88 kB / 1.641 GB, free: 3.285 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 6.243/7.591, allocations: 1.673 GB / 3.314 GB, free: 252.7 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.954e-06/7.591, allocations: 3.844 kB / 3.314 GB, free: 252.7 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0008425/7.592, allocations: 115.6 kB / 3.315 GB, free: 252.7 MB / 1.167 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.01727/7.609, allocations: 4.751 MB / 3.319 GB, free: 251 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.425e-05/7.609, allocations: 7.25 kB / 3.319 GB, free: 251 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002173/7.612, allocations: 424.1 kB / 3.32 GB, free: 250.9 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01029/7.622, allocations: 1.638 MB / 3.321 GB, free: 250.7 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04194/7.664, allocations: 18.43 MB / 3.339 GB, free: 249.5 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003081/7.664, allocations: 229.8 kB / 3.339 GB, free: 249.5 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001631/7.666, allocations: 299.3 kB / 3.34 GB, free: 249.5 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01158/7.677, allocations: 4.342 MB / 3.344 GB, free: 249 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001502/7.678, allocations: 11.84 kB / 3.344 GB, free: 249 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009679/7.679, allocations: 131 kB / 3.344 GB, free: 249 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001983/7.679, allocations: 145.8 kB / 3.344 GB, free: 249 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007598/7.686, allocations: 3.766 MB / 3.348 GB, free: 249 MB / 1.167 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.03396/7.72, allocations: 20.08 MB / 3.368 GB, free: 239.2 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004327/7.725, allocations: 2.625 MB / 3.37 GB, free: 239.1 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005427/7.725, allocations: 0.5418 MB / 3.371 GB, free: 238.6 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.19e-05/7.725, allocations: 60.19 kB / 3.371 GB, free: 238.5 MB / 1.167 GB Notification: Performance of pre-optimization done (n=184): time 4.439e-06/7.725, allocations: 3.719 kB / 3.371 GB, free: 238.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=184): time 0.02028/7.746, allocations: 6.194 MB / 3.377 GB, free: 237.4 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.315e-05/7.746, allocations: 75.41 kB / 3.377 GB, free: 237.3 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007439/7.753, allocations: 3.103 MB / 3.38 GB, free: 236.3 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0007139/7.754, allocations: 71.83 kB / 3.38 GB, free: 236.2 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0021/7.756, allocations: 1.762 MB / 3.382 GB, free: 234.9 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.00112/7.757, allocations: 0.6298 MB / 3.382 GB, free: 234.4 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004008/7.758, allocations: 47.78 kB / 3.382 GB, free: 234.3 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0002629/7.758, allocations: 410.1 kB / 3.383 GB, free: 234 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002364/7.76, allocations: 1.24 MB / 3.384 GB, free: 233.6 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002905/7.763, allocations: 1.925 MB / 3.386 GB, free: 232.3 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00274/7.766, allocations: 1.591 MB / 3.387 GB, free: 231.8 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.666e-05/7.766, allocations: 3.156 kB / 3.387 GB, free: 231.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.009131/7.775, allocations: 4.244 MB / 3.391 GB, free: 230.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.00208/7.777, allocations: 7.283 MB / 3.399 GB, free: 222.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.167e-05/7.777, allocations: 17.94 kB / 3.399 GB, free: 222.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006389/7.784, allocations: 1.514 MB / 3.4 GB, free: 222.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002419/7.786, allocations: 490.5 kB / 3.401 GB, free: 222.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005619/7.792, allocations: 4.857 MB / 3.405 GB, free: 218.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00504/7.797, allocations: 453.1 kB / 3.406 GB, free: 218.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007034/7.798, allocations: 124.7 kB / 3.406 GB, free: 218.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/7.798, allocations: 5.656 kB / 3.406 GB, free: 218.7 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008689/7.806, allocations: 3.956 MB / 3.41 GB, free: 217.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-05/7.806, allocations: 20.72 kB / 3.41 GB, free: 217.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006092/7.813, allocations: 1.539 MB / 3.411 GB, free: 217 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002239/7.815, allocations: 473.5 kB / 3.412 GB, free: 217 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004769/7.82, allocations: 3.65 MB / 3.415 GB, free: 214.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004317/7.824, allocations: 379.2 kB / 3.416 GB, free: 214.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006531/7.825, allocations: 117.9 kB / 3.416 GB, free: 214.6 MB / 1.167 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.00403/7.829, allocations: 1.493 MB / 3.417 GB, free: 213.9 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001783/7.83, allocations: 337.6 kB / 3.417 GB, free: 213.7 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006603/7.837, allocations: 3.341 MB / 3.421 GB, free: 212.4 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.221e-05/7.837, allocations: 21.86 kB / 3.421 GB, free: 212.4 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.1e-05/7.837, allocations: 3.969 kB / 3.421 GB, free: 212.4 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003901/7.841, allocations: 2.729 MB / 3.423 GB, free: 211.4 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01594/7.857, allocations: 7.164 MB / 3.43 GB, free: 204.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.077e-05/7.857, allocations: 6.641 kB / 3.43 GB, free: 204.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001291/7.858, allocations: 283.5 kB / 3.431 GB, free: 204.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003537/7.862, allocations: 1.099 MB / 3.432 GB, free: 203.2 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002739/7.862, allocations: 43.98 kB / 3.432 GB, free: 203.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006795/7.869, allocations: 10.09 MB / 3.442 GB, free: 192.3 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/7.869, allocations: 3.812 kB / 3.442 GB, free: 192.3 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007913/7.877, allocations: 4.823 MB / 3.446 GB, free: 187.4 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003173/7.88, allocations: 0.8437 MB / 3.447 GB, free: 186.6 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001264/7.882, allocations: 43.94 kB / 3.447 GB, free: 186.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003474/7.885, allocations: 235.5 kB / 3.447 GB, free: 186.3 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003311/7.885, allocations: 125.8 kB / 3.448 GB, free: 186.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003516/7.886, allocations: 87.94 kB / 3.448 GB, free: 186.1 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.004894/7.891, allocations: 2.404 MB / 3.45 GB, free: 183.7 MB / 1.167 GB Notification: Performance of sort global known variables: time 3.2e-07/7.891, allocations: 0 / 3.45 GB, free: 183.7 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.01185/7.903, allocations: 2.276 MB / 3.452 GB, free: 181.4 MB / 1.167 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.01034/7.913, allocations: 6.163 MB / 3.458 GB, free: 175.3 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.013/7.926, allocations: 5.336 MB / 3.463 GB, free: 169.9 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.081e-05/7.926, allocations: 4 kB / 3.463 GB, free: 169.9 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.003119/7.929, allocations: 1.893 MB / 3.465 GB, free: 168 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00922/7.938, allocations: 1.779 MB / 3.467 GB, free: 166.3 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02584/7.964, allocations: 22.95 MB / 3.489 GB, free: 142.8 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003667/7.968, allocations: 3.055 MB / 3.492 GB, free: 139.8 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.005996/7.974, allocations: 1.359 MB / 3.494 GB, free: 138.5 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003022/7.977, allocations: 1.534 MB / 3.495 GB, free: 136.9 MB / 1.167 GB Notification: Performance of SimCode: time 1.443e-06/7.977, allocations: 0 / 3.495 GB, free: 136.9 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1597/8.137, allocations: 118.1 MB / 3.611 GB, free: 20.97 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001728/8.137, allocations: 281.7 kB / 3.611 GB, free: 20.6 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.787/13.92, allocations: 6.031 kB / 3.611 GB, free: 20.6 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_Radiators_Examples_RadiatorEN442_2_fmu --startTime=0 --stopTime=10800 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_Radiators_Examples_RadiatorEN442_2.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2_res.mat does not exist to compare? outputFormat=mat