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.378/2.378, allocations: 390.5 MB / 398 MB, free: 10.94 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.001129/0.001129, allocations: 176.8 kB / 491.2 MB, free: 1.559 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.693/1.693, allocations: 221.5 MB / 0.7868 GB, free: 13.32 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.001253/0.001253, allocations: 87.95 kB / 0.9269 GB, free: 13.82 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.753e-05/2.754e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4293/0.4293, allocations: 143 MB / 1.212 GB, free: 39.45 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.497/1.926, allocations: 421.2 MB / 1.624 GB, free: 9.34 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002564/1.927, allocations: 90.97 kB / 1.624 GB, free: 9.293 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 6.845/8.771, allocations: 1.66 GB / 3.284 GB, free: 212.7 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.365e-06/8.771, allocations: 0 / 3.284 GB, free: 212.7 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0007424/8.772, allocations: 111.6 kB / 3.284 GB, free: 212.7 MB / 1.151 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.01317/8.785, allocations: 3.891 MB / 3.288 GB, free: 210.2 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/8.785, allocations: 11.47 kB / 3.288 GB, free: 210.2 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01049/8.796, allocations: 1.634 MB / 3.29 GB, free: 209.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04077/8.837, allocations: 18.26 MB / 3.308 GB, free: 195.3 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001367/8.837, allocations: 92 kB / 3.308 GB, free: 195.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001038/8.838, allocations: 180 kB / 3.308 GB, free: 195 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00657/8.844, allocations: 3.486 MB / 3.311 GB, free: 191.5 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006751/8.851, allocations: 3.867 MB / 3.315 GB, free: 187.5 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.812e-05/8.851, allocations: 15.84 kB / 3.315 GB, free: 187.5 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004242/8.852, allocations: 4 kB / 3.315 GB, free: 187.5 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001521/8.852, allocations: 151.5 kB / 3.315 GB, free: 187.3 MB / 1.151 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.02802/8.88, allocations: 19.64 MB / 3.334 GB, free: 166.7 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003506/8.884, allocations: 2.692 MB / 3.337 GB, free: 164 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001405/8.885, allocations: 1.309 MB / 3.338 GB, free: 162.7 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000449/8.885, allocations: 0.5402 MB / 3.339 GB, free: 162.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.599e-05/8.886, allocations: 60.56 kB / 3.339 GB, free: 162 MB / 1.151 GB Notification: Performance of pre-optimization done (n=184): time 4.017e-06/8.886, allocations: 0 / 3.339 GB, free: 162 MB / 1.151 GB Notification: Performance of matching and sorting (n=184): time 0.006085/8.892, allocations: 2.986 MB / 3.342 GB, free: 159 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.172e-05/8.892, allocations: 77.41 kB / 3.342 GB, free: 158.9 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00457/8.896, allocations: 2.905 MB / 3.345 GB, free: 156 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0006908/8.897, allocations: 32.86 kB / 3.345 GB, free: 156 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.00125/8.898, allocations: 1.762 MB / 3.346 GB, free: 154.2 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008519/8.899, allocations: 0.6081 MB / 3.347 GB, free: 153.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000152/8.899, allocations: 0 / 3.347 GB, free: 153.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001354/8.899, allocations: 410.9 kB / 3.347 GB, free: 153.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001505/8.901, allocations: 1.231 MB / 3.349 GB, free: 152 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001743/8.903, allocations: 1.891 MB / 3.35 GB, free: 149.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00252/8.905, allocations: 1.615 MB / 3.352 GB, free: 148.2 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.35e-05/8.905, allocations: 4 kB / 3.352 GB, free: 148.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.007718/8.913, allocations: 4.046 MB / 3.356 GB, free: 144.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.001636/8.915, allocations: 7.276 MB / 3.363 GB, free: 136.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.9e-05/8.915, allocations: 16 kB / 3.363 GB, free: 136.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004357/8.919, allocations: 1.238 MB / 3.364 GB, free: 135.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00241/8.922, allocations: 0.501 MB / 3.365 GB, free: 134.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005033/8.927, allocations: 4.918 MB / 3.37 GB, free: 129.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004808/8.931, allocations: 397 kB / 3.37 GB, free: 129.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006034/8.932, allocations: 124 kB / 3.37 GB, free: 129.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/8.932, allocations: 7.938 kB / 3.37 GB, free: 129.1 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005847/8.938, allocations: 3.474 MB / 3.373 GB, free: 125.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.256e-05/8.938, allocations: 16 kB / 3.374 GB, free: 125.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00499/8.943, allocations: 1.328 MB / 3.375 GB, free: 124.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001939/8.945, allocations: 487.2 kB / 3.375 GB, free: 123.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004019/8.949, allocations: 3.567 MB / 3.379 GB, free: 120.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004054/8.953, allocations: 337.6 kB / 3.379 GB, free: 119.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003291/8.953, allocations: 116 kB / 3.379 GB, free: 119.7 MB / 1.151 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.0007838/8.954, allocations: 160.4 kB / 3.379 GB, free: 119.5 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005129/8.959, allocations: 2.788 MB / 3.382 GB, free: 116.7 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001145/8.96, allocations: 339.9 kB / 3.382 GB, free: 116.3 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00488/8.965, allocations: 3.054 MB / 3.385 GB, free: 113.3 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.558e-05/8.965, allocations: 23.92 kB / 3.385 GB, free: 113.2 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.088e-05/8.965, allocations: 4 kB / 3.385 GB, free: 113.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003119/8.969, allocations: 2.481 MB / 3.388 GB, free: 110.7 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01099/8.98, allocations: 6.516 MB / 3.394 GB, free: 104.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.736e-06/8.98, allocations: 8.094 kB / 3.394 GB, free: 104.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001185/8.981, allocations: 279.6 kB / 3.394 GB, free: 103.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002777/8.984, allocations: 0.9598 MB / 3.395 GB, free: 102.9 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001498/8.984, allocations: 15.98 kB / 3.395 GB, free: 102.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005634/8.989, allocations: 9.728 MB / 3.405 GB, free: 92.52 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.671e-06/8.989, allocations: 12.11 kB / 3.405 GB, free: 92.51 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006281/8.996, allocations: 4.53 MB / 3.409 GB, free: 87.92 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00248/8.998, allocations: 0.8283 MB / 3.41 GB, free: 87.07 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008053/8.999, allocations: 11.98 kB / 3.41 GB, free: 87.05 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002391/9.001, allocations: 191.6 kB / 3.41 GB, free: 86.87 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000241/9.002, allocations: 113.8 kB / 3.41 GB, free: 86.76 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001747/9.002, allocations: 95.92 kB / 3.411 GB, free: 86.66 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.003034/9.005, allocations: 2.208 MB / 3.413 GB, free: 84.46 MB / 1.151 GB Notification: Performance of sort global known variables: time 4.51e-07/9.005, allocations: 0 / 3.413 GB, free: 84.46 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.008709/9.014, allocations: 2.158 MB / 3.415 GB, free: 82.3 MB / 1.151 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.00797/9.022, allocations: 5.844 MB / 3.421 GB, free: 76.47 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.009124/9.031, allocations: 4.86 MB / 3.425 GB, free: 71.62 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.011e-05/9.031, allocations: 0 / 3.425 GB, free: 71.62 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.002322/9.033, allocations: 1.771 MB / 3.427 GB, free: 69.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009367/9.043, allocations: 1.729 MB / 3.429 GB, free: 68.14 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01834/9.061, allocations: 7.558 MB / 3.436 GB, free: 60.56 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002305/9.063, allocations: 3.041 MB / 3.439 GB, free: 57.5 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.007636/9.071, allocations: 2.262 MB / 3.441 GB, free: 55.3 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002388/9.073, allocations: 1.46 MB / 3.443 GB, free: 53.84 MB / 1.151 GB Notification: Performance of SimCode: time 9.71e-07/9.073, allocations: 0 / 3.443 GB, free: 53.84 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9556/10.03, allocations: 113.9 MB / 3.554 GB, free: 234 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000148/10.03, allocations: 189.9 kB / 3.554 GB, free: 233.8 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.287/16.32, allocations: 0 / 3.554 GB, free: 233.8 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