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.545/2.545, allocations: 390.3 MB / 402.8 MB, free: 6.711 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.001205/0.001205, allocations: 180.5 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.803/1.803, allocations: 221.3 MB / 0.7915 GB, free: 5.445 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.001203/0.001203, allocations: 90.7 kB / 0.9317 GB, free: 5.773 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.549e-05/3.562e-05, allocations: 7.984 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3532/0.3533, allocations: 143 MB / 1.219 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.472/1.825, allocations: 421.8 MB / 1.631 GB, free: 12.51 MB / 1.089 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002603/1.826, allocations: 91.95 kB / 1.631 GB, free: 12.42 MB / 1.089 GB Notification: Performance of FrontEnd - DAE generated: time 6.894/8.72, allocations: 1.669 GB / 3.3 GB, free: 185 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.523e-06/8.72, allocations: 4 kB / 3.3 GB, free: 185 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.000662/8.721, allocations: 116.1 kB / 3.3 GB, free: 184.9 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.0184/8.739, allocations: 3.883 MB / 3.304 GB, free: 180.9 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.839e-05/8.739, allocations: 8.031 kB / 3.304 GB, free: 180.9 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002133/8.741, allocations: 425 kB / 3.304 GB, free: 180.5 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01698/8.758, allocations: 1.629 MB / 3.306 GB, free: 178.9 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06616/8.824, allocations: 18.32 MB / 3.324 GB, free: 160.9 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003547/8.825, allocations: 229.6 kB / 3.324 GB, free: 160.6 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001689/8.827, allocations: 310.4 kB / 3.324 GB, free: 160.3 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01314/8.84, allocations: 4.283 MB / 3.328 GB, free: 155.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001062/8.84, allocations: 7.938 kB / 3.328 GB, free: 155.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006489/8.841, allocations: 122.6 kB / 3.328 GB, free: 155.7 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002076/8.841, allocations: 145.4 kB / 3.329 GB, free: 155.6 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01123/8.852, allocations: 3.687 MB / 3.332 GB, free: 151.9 MB / 1.167 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.04826/8.9, allocations: 20.08 MB / 3.352 GB, free: 130.7 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006677/8.907, allocations: 2.59 MB / 3.354 GB, free: 128.1 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003044/8.91, allocations: 1.284 MB / 3.356 GB, free: 126.8 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007425/8.911, allocations: 0.5396 MB / 3.356 GB, free: 126.2 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.935e-05/8.911, allocations: 64.5 kB / 3.356 GB, free: 126.1 MB / 1.167 GB Notification: Performance of pre-optimization done (n=184): time 7.063e-06/8.911, allocations: 4 kB / 3.356 GB, free: 126.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=184): time 0.009724/8.921, allocations: 2.909 MB / 3.359 GB, free: 123.2 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.011e-05/8.921, allocations: 73.41 kB / 3.359 GB, free: 123.1 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00903/8.93, allocations: 3.072 MB / 3.362 GB, free: 120 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0008993/8.931, allocations: 73.7 kB / 3.362 GB, free: 119.9 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.002451/8.933, allocations: 1.767 MB / 3.364 GB, free: 118.1 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.001329/8.935, allocations: 0.6315 MB / 3.364 GB, free: 117.5 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005572/8.935, allocations: 52 kB / 3.364 GB, free: 117.4 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0002782/8.936, allocations: 402.9 kB / 3.365 GB, free: 117 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003345/8.939, allocations: 1.192 MB / 3.366 GB, free: 115.8 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003746/8.943, allocations: 1.868 MB / 3.368 GB, free: 113.7 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003988/8.947, allocations: 1.549 MB / 3.369 GB, free: 112.1 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.807e-05/8.947, allocations: 8 kB / 3.369 GB, free: 112.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.01429/8.961, allocations: 4.105 MB / 3.373 GB, free: 108 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001595/8.963, allocations: 7.287 MB / 3.381 GB, free: 100.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.296e-05/8.963, allocations: 16 kB / 3.381 GB, free: 100.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01109/8.974, allocations: 1.46 MB / 3.382 GB, free: 98.77 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003931/8.978, allocations: 499.2 kB / 3.382 GB, free: 98.29 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008411/8.986, allocations: 4.763 MB / 3.387 GB, free: 93.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007647/8.994, allocations: 449.1 kB / 3.388 GB, free: 92.96 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009839/8.995, allocations: 119.9 kB / 3.388 GB, free: 92.84 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.452e-05/8.995, allocations: 9.719 kB / 3.388 GB, free: 92.83 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01383/9.009, allocations: 3.834 MB / 3.391 GB, free: 88.98 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.772e-05/9.009, allocations: 16.19 kB / 3.391 GB, free: 88.97 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007764/9.017, allocations: 1.492 MB / 3.393 GB, free: 87.47 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002392/9.019, allocations: 479.2 kB / 3.393 GB, free: 87 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004859/9.024, allocations: 3.552 MB / 3.397 GB, free: 83.37 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00528/9.03, allocations: 393 kB / 3.397 GB, free: 82.99 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009035/9.031, allocations: 116 kB / 3.397 GB, free: 82.88 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 () * 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.001902/9.032, allocations: 247.4 kB / 3.397 GB, free: 82.63 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00251/9.035, allocations: 340 kB / 3.398 GB, free: 82.29 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008043/9.043, allocations: 3.301 MB / 3.401 GB, free: 78.96 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-05/9.043, allocations: 20 kB / 3.401 GB, free: 78.94 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.973e-05/9.043, allocations: 3.938 kB / 3.401 GB, free: 78.93 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003795/9.047, allocations: 2.684 MB / 3.404 GB, free: 76.22 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01493/9.062, allocations: 7.201 MB / 3.411 GB, free: 68.91 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.097e-06/9.062, allocations: 0 / 3.411 GB, free: 68.91 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001228/9.063, allocations: 283.7 kB / 3.411 GB, free: 68.63 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003554/9.067, allocations: 1.104 MB / 3.412 GB, free: 67.52 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000253/9.067, allocations: 43.98 kB / 3.412 GB, free: 67.47 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006213/9.073, allocations: 10.04 MB / 3.422 GB, free: 56.7 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/9.073, allocations: 4 kB / 3.422 GB, free: 56.7 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007665/9.081, allocations: 4.808 MB / 3.427 GB, free: 51.83 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002881/9.084, allocations: 0.84 MB / 3.427 GB, free: 50.96 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001196/9.085, allocations: 43.98 kB / 3.427 GB, free: 50.92 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003315/9.088, allocations: 231.5 kB / 3.428 GB, free: 50.7 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002897/9.089, allocations: 125.2 kB / 3.428 GB, free: 50.57 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003532/9.089, allocations: 91.94 kB / 3.428 GB, free: 50.48 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.004858/9.094, allocations: 2.379 MB / 3.43 GB, free: 48.11 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.9e-07/9.094, allocations: 0 / 3.43 GB, free: 48.11 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.01152/9.106, allocations: 2.276 MB / 3.432 GB, free: 45.83 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 () * 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.01119/9.117, allocations: 6.104 MB / 3.438 GB, free: 39.71 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.01218/9.129, allocations: 5.312 MB / 3.444 GB, free: 34.39 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 8.967e-06/9.129, allocations: 4 kB / 3.444 GB, free: 34.39 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.002805/9.132, allocations: 1.866 MB / 3.445 GB, free: 32.46 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009685/9.142, allocations: 1.766 MB / 3.447 GB, free: 30.77 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01836/9.16, allocations: 7.785 MB / 3.455 GB, free: 22.97 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003178/9.163, allocations: 3.045 MB / 3.458 GB, free: 19.9 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.007709/9.171, allocations: 2.244 MB / 3.46 GB, free: 17.73 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002557/9.174, allocations: 1.464 MB / 3.461 GB, free: 16.27 MB / 1.167 GB Notification: Performance of SimCode: time 1.793e-06/9.174, allocations: 0 / 3.461 GB, free: 16.27 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8614/10.04, allocations: 124.7 MB / 3.583 GB, free: 210 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001935/10.04, allocations: 235.6 kB / 3.583 GB, free: 209.7 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.282/16.32, allocations: 6.469 kB / 3.583 GB, free: 209.7 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