Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.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.BaseClasses.Examples.HexElementSensible,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementSensible",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementSensible",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.33/2.33, allocations: 387.1 MB / 399.7 MB, free: 9.48 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.001224/0.001224, allocations: 168.9 kB / 492.3 MB, free: 0.6328 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.618/1.618, allocations: 221.3 MB / 0.7871 GB, free: 12.95 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.001053/0.001053, allocations: 103.1 kB / 0.9267 GB, free: 14.02 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.693e-05/3.704e-05, allocations: 8 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.282/0.2821, allocations: 142.4 MB / 1.212 GB, free: 38.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.402/5.684, allocations: 2.175 GB / 3.388 GB, free: 139.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003314/5.685, allocations: 95.45 kB / 3.388 GB, free: 139.3 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 4.667/10.35, allocations: 1.019 GB / 4.407 GB, free: 212.5 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.016e-06/10.35, allocations: 3.406 kB / 4.407 GB, free: 212.5 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002083/10.35, allocations: 48 kB / 4.407 GB, free: 212.5 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: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.005948/10.36, allocations: 1.873 MB / 4.408 GB, free: 212.1 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.054e-05/10.36, allocations: 9.531 kB / 4.408 GB, free: 212.1 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000336/10.36, allocations: 172.8 kB / 4.409 GB, free: 212 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002252/10.36, allocations: 339.5 kB / 4.409 GB, free: 211.9 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005239/10.37, allocations: 1.596 MB / 4.411 GB, free: 211.6 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001454/10.37, allocations: 90.08 kB / 4.411 GB, free: 211.6 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002989/10.37, allocations: 123.1 kB / 4.411 GB, free: 211.6 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002754/10.37, allocations: 1.131 MB / 4.412 GB, free: 211.5 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.949e-05/10.37, allocations: 1.516 kB / 4.412 GB, free: 211.5 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001281/10.37, allocations: 49.55 kB / 4.412 GB, free: 211.5 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.398e-05/10.37, allocations: 46.5 kB / 4.412 GB, free: 211.5 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001998/10.37, allocations: 0.8538 MB / 4.413 GB, free: 211.4 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.009061/10.38, allocations: 5.511 MB / 4.418 GB, free: 208.9 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001373/10.38, allocations: 0.8384 MB / 4.419 GB, free: 208.7 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005992/10.38, allocations: 382.9 kB / 4.419 GB, free: 208.6 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005573/10.38, allocations: 0.6065 MB / 4.42 GB, free: 208 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.591e-05/10.38, allocations: 48.67 kB / 4.42 GB, free: 207.9 MB / 1.167 GB Notification: Performance of pre-optimization done (n=70): time 3.526e-06/10.38, allocations: 1.156 kB / 4.42 GB, free: 207.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=70): time 0.002006/10.39, allocations: 0.8141 MB / 4.421 GB, free: 207.8 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.177e-05/10.39, allocations: 62.64 kB / 4.421 GB, free: 207.8 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001623/10.39, allocations: 1.041 MB / 4.422 GB, free: 207.6 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 6.919e-05/10.39, allocations: 43.89 kB / 4.422 GB, free: 207.6 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005669/10.39, allocations: 0.6897 MB / 4.423 GB, free: 207.4 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.00021/10.39, allocations: 247.5 kB / 4.423 GB, free: 207.3 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.46e-05/10.39, allocations: 13.75 kB / 4.423 GB, free: 207.3 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.16e-05/10.39, allocations: 334.5 kB / 4.423 GB, free: 207 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004379/10.39, allocations: 242.3 kB / 4.423 GB, free: 207 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005824/10.39, allocations: 464.1 kB / 4.424 GB, free: 206.7 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005483/10.39, allocations: 322.1 kB / 4.424 GB, free: 206.7 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/10.39, allocations: 1.062 kB / 4.424 GB, free: 206.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001691/10.39, allocations: 0.9021 MB / 4.425 GB, free: 206.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.000225/10.39, allocations: 0.9051 MB / 4.426 GB, free: 205.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.214e-05/10.39, allocations: 2.953 kB / 4.426 GB, free: 205.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003402/10.39, allocations: 108.3 kB / 4.426 GB, free: 205.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007729/10.39, allocations: 156.9 kB / 4.426 GB, free: 205.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009646/10.39, allocations: 1.759 MB / 4.428 GB, free: 204 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001531/10.4, allocations: 169.4 kB / 4.428 GB, free: 204 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.136e-05/10.4, allocations: 32.92 kB / 4.428 GB, free: 204 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/10.4, allocations: 5.5 kB / 4.428 GB, free: 204 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001451/10.4, allocations: 0.7333 MB / 4.429 GB, free: 204 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/10.4, allocations: 2.812 kB / 4.429 GB, free: 204 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002768/10.4, allocations: 92.81 kB / 4.429 GB, free: 204 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006397/10.4, allocations: 156.3 kB / 4.429 GB, free: 204 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002427/10.4, allocations: 3.121 MB / 4.432 GB, free: 201.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001439/10.4, allocations: 163.6 kB / 4.432 GB, free: 201.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.234e-05/10.4, allocations: 31.61 kB / 4.432 GB, free: 201.2 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002526/10.4, allocations: 149.1 kB / 4.432 GB, free: 201.1 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002651/10.4, allocations: 145.2 kB / 4.433 GB, free: 201 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001884/10.4, allocations: 0.9062 MB / 4.433 GB, free: 200.9 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.729e-05/10.4, allocations: 8.344 kB / 4.433 GB, free: 200.9 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/10.4, allocations: 0 / 4.433 GB, free: 200.9 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001361/10.41, allocations: 1.016 MB / 4.434 GB, free: 200.4 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 postOpt removeSimpleEquations (simulation): time 0.004728/10.41, allocations: 2.382 MB / 4.437 GB, free: 200 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/10.41, allocations: 5.719 kB / 4.437 GB, free: 200 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007492/10.41, allocations: 154.6 kB / 4.437 GB, free: 200 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002448/10.41, allocations: 92.95 kB / 4.437 GB, free: 200 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.89e-05/10.41, allocations: 20.52 kB / 4.437 GB, free: 200 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007542/10.41, allocations: 1.732 MB / 4.439 GB, free: 198.4 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.584e-06/10.41, allocations: 4.969 kB / 4.439 GB, free: 198.4 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002268/10.41, allocations: 1.49 MB / 4.44 GB, free: 197.9 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007897/10.42, allocations: 327.8 kB / 4.44 GB, free: 197.7 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002923/10.42, allocations: 25.14 kB / 4.44 GB, free: 197.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001061/10.42, allocations: 115.4 kB / 4.441 GB, free: 197.7 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001242/10.42, allocations: 49.47 kB / 4.441 GB, free: 197.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.088e-05/10.42, allocations: 30.52 kB / 4.441 GB, free: 197.7 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001254/10.42, allocations: 0.8107 MB / 4.441 GB, free: 197.6 MB / 1.167 GB Notification: Performance of sort global known variables: time 3.31e-07/10.42, allocations: 0 / 4.441 GB, free: 197.6 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003395/10.42, allocations: 0.9876 MB / 4.442 GB, free: 197.5 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 5 (hex.vol1.dynBal.U,hex.vol2.dynBal.medium.Xi[1],hex.vol2.dynBal.U,hex.vol2.dynBal.m,hex.mas.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.005106/10.43, allocations: 4.53 MB / 4.447 GB, free: 195.4 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002268/10.43, allocations: 1.333 MB / 4.448 GB, free: 195.2 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/10.43, allocations: 3.75 kB / 4.448 GB, free: 195.2 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0005828/10.43, allocations: 378.8 kB / 4.449 GB, free: 195.2 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003669/10.43, allocations: 0.7885 MB / 4.449 GB, free: 195.2 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004223/10.44, allocations: 2.463 MB / 4.452 GB, free: 194.5 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007139/10.44, allocations: 1.316 MB / 4.453 GB, free: 193.8 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001706/10.44, allocations: 466.9 kB / 4.453 GB, free: 193.8 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000657/10.44, allocations: 0.5479 MB / 4.454 GB, free: 193.8 MB / 1.167 GB Notification: Performance of SimCode: time 4.81e-07/10.44, allocations: 0 / 4.454 GB, free: 193.8 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1263/10.57, allocations: 74.16 MB / 4.526 GB, free: 192.1 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001754/10.57, allocations: 245.7 kB / 4.527 GB, free: 191.8 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.268/15.84, allocations: 3.875 kB / 4.527 GB, free: 191.8 MB / 1.167 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementSensible_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementSensible.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible_res.mat does not exist to compare? outputFormat=mat