Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_Radiators_Examples_RadiatorEN442_2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.168/2.168, allocations: 390.3 MB / 405.3 MB, free: 13.46 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.001244/0.001244, allocations: 181.2 kB / 498.1 MB, free: 5.73 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.448/1.448, allocations: 223.2 MB / 0.7948 GB, free: 17.92 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.0009163/0.000916, allocations: 103.9 kB / 0.9346 GB, free: 6.199 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003621/0.0003622, allocations: 10.44 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2897/0.29, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.09/1.38, allocations: 421.1 MB / 1.634 GB, free: 6.898 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003019/1.38, allocations: 95.7 kB / 1.634 GB, free: 6.848 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 6.14/7.52, allocations: 1.673 GB / 3.307 GB, free: 255.4 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.854e-06/7.52, allocations: 2.516 kB / 3.307 GB, free: 255.4 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0008768/7.521, allocations: 111.5 kB / 3.307 GB, free: 255.3 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.0157/7.537, allocations: 4.743 MB / 3.312 GB, free: 253.8 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.022e-05/7.537, allocations: 11.34 kB / 3.312 GB, free: 253.8 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001777/7.539, allocations: 425.6 kB / 3.312 GB, free: 253.7 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008791/7.548, allocations: 1.639 MB / 3.314 GB, free: 253.5 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03851/7.586, allocations: 18.43 MB / 3.332 GB, free: 252.3 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003083/7.587, allocations: 239.5 kB / 3.332 GB, free: 252.3 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001544/7.588, allocations: 298.2 kB / 3.333 GB, free: 252.3 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009822/7.598, allocations: 4.342 MB / 3.337 GB, free: 251.8 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-05/7.598, allocations: 11.56 kB / 3.337 GB, free: 251.8 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004292/7.599, allocations: 129.3 kB / 3.337 GB, free: 251.8 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000121/7.599, allocations: 145.6 kB / 3.337 GB, free: 251.8 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005838/7.605, allocations: 3.764 MB / 3.341 GB, free: 251.8 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.02802/7.633, allocations: 20.07 MB / 3.36 GB, free: 242 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003714/7.636, allocations: 2.634 MB / 3.363 GB, free: 241.9 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004879/7.637, allocations: 0.5363 MB / 3.363 GB, free: 241.4 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.515e-05/7.637, allocations: 65.56 kB / 3.364 GB, free: 241.3 MB / 1.167 GB Notification: Performance of pre-optimization done (n=184): time 4.138e-06/7.637, allocations: 1.219 kB / 3.364 GB, free: 241.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=184): time 0.01819/7.655, allocations: 6.199 MB / 3.37 GB, free: 240.5 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.377e-05/7.655, allocations: 70.44 kB / 3.37 GB, free: 240.4 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005129/7.66, allocations: 3.102 MB / 3.373 GB, free: 240.1 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.000687/7.661, allocations: 71.27 kB / 3.373 GB, free: 240.1 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001362/7.662, allocations: 1.768 MB / 3.374 GB, free: 239.5 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008188/7.663, allocations: 0.6277 MB / 3.375 GB, free: 239.1 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001499/7.663, allocations: 50.19 kB / 3.375 GB, free: 239.1 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001534/7.664, allocations: 412.6 kB / 3.376 GB, free: 238.8 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001925/7.666, allocations: 1.241 MB / 3.377 GB, free: 238.7 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002225/7.668, allocations: 1.928 MB / 3.379 GB, free: 238 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002242/7.67, allocations: 1.592 MB / 3.38 GB, free: 238 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.076e-05/7.67, allocations: 3.656 kB / 3.38 GB, free: 238 MB / 1.167 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.008095/7.678, allocations: 4.24 MB / 3.384 GB, free: 237.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001523/7.68, allocations: 7.287 MB / 3.391 GB, free: 230.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.567e-05/7.68, allocations: 16.41 kB / 3.391 GB, free: 230.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006104/7.686, allocations: 1.506 MB / 3.393 GB, free: 230.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002387/7.688, allocations: 499.4 kB / 3.393 GB, free: 230.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00517/7.693, allocations: 4.854 MB / 3.398 GB, free: 227.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004799/7.698, allocations: 448.2 kB / 3.399 GB, free: 227.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005637/7.699, allocations: 126.2 kB / 3.399 GB, free: 227.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/7.699, allocations: 3.25 kB / 3.399 GB, free: 227.2 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007177/7.706, allocations: 3.951 MB / 3.403 GB, free: 227.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.147e-05/7.706, allocations: 18.56 kB / 3.403 GB, free: 227.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00578/7.712, allocations: 1.538 MB / 3.404 GB, free: 226.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002146/7.714, allocations: 476.8 kB / 3.405 GB, free: 226.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004383/7.719, allocations: 3.64 MB / 3.408 GB, free: 224.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004218/7.723, allocations: 384.6 kB / 3.408 GB, free: 224.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004166/7.723, allocations: 114.3 kB / 3.409 GB, free: 224.4 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.003359/7.727, allocations: 1.503 MB / 3.41 GB, free: 223.8 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001524/7.728, allocations: 336.9 kB / 3.41 GB, free: 223.6 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005393/7.734, allocations: 3.338 MB / 3.414 GB, free: 222.3 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.122e-05/7.734, allocations: 22.58 kB / 3.414 GB, free: 222.3 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.108e-05/7.734, allocations: 3.969 kB / 3.414 GB, free: 222.3 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003401/7.737, allocations: 2.718 MB / 3.416 GB, free: 221.3 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01287/7.75, allocations: 7.165 MB / 3.423 GB, free: 218.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.095e-05/7.75, allocations: 10.47 kB / 3.423 GB, free: 218.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001218/7.751, allocations: 283.2 kB / 3.424 GB, free: 218.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003322/7.754, allocations: 1.1 MB / 3.425 GB, free: 218.1 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002089/7.755, allocations: 46.88 kB / 3.425 GB, free: 218.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00646/7.761, allocations: 10.11 MB / 3.435 GB, free: 209.1 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/7.761, allocations: 0 / 3.435 GB, free: 209.1 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007373/7.769, allocations: 4.825 MB / 3.439 GB, free: 207.1 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00343/7.772, allocations: 0.8382 MB / 3.44 GB, free: 206.6 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009447/7.773, allocations: 39.77 kB / 3.44 GB, free: 206.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0025/7.776, allocations: 235.9 kB / 3.44 GB, free: 206.5 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003208/7.776, allocations: 119.6 kB / 3.44 GB, free: 206.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001959/7.776, allocations: 87.91 kB / 3.441 GB, free: 206.5 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.00415/7.78, allocations: 2.413 MB / 3.443 GB, free: 205.7 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.6e-07/7.78, allocations: 3.938 kB / 3.443 GB, free: 205.7 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.01026/7.791, allocations: 2.267 MB / 3.445 GB, free: 205.2 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.008512/7.799, allocations: 6.157 MB / 3.451 GB, free: 202.3 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0118/7.811, allocations: 5.349 MB / 3.456 GB, free: 200.7 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.241e-05/7.811, allocations: 7.828 kB / 3.456 GB, free: 200.7 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.002732/7.814, allocations: 1.895 MB / 3.458 GB, free: 198.9 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008729/7.822, allocations: 1.784 MB / 3.46 GB, free: 197.7 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02239/7.845, allocations: 22.95 MB / 3.482 GB, free: 175.8 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002363/7.847, allocations: 3.049 MB / 3.485 GB, free: 173.4 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.004987/7.852, allocations: 1.365 MB / 3.487 GB, free: 172.5 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002392/7.855, allocations: 1.533 MB / 3.488 GB, free: 171.1 MB / 1.167 GB Notification: Performance of SimCode: time 1.031e-06/7.855, allocations: 3.609 kB / 3.488 GB, free: 171.1 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1679/8.023, allocations: 118.1 MB / 3.604 GB, free: 58.79 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001783/8.023, allocations: 272 kB / 3.604 GB, free: 58.43 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.887/13.91, allocations: 64 / 3.604 GB, free: 58.43 MB / 1.167 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_Radiators_Examples_RadiatorEN442_2_fmu --startTime=0 --stopTime=10800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_Radiators_Examples_RadiatorEN442_2.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2_res.mat does not exist to compare? outputFormat=mat