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.337/2.337, allocations: 387.4 MB / 394.9 MB, free: 13.4 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.001277/0.001278, allocations: 176.8 kB / 487.4 MB, free: 5.039 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.633/1.633, allocations: 221.5 MB / 0.7824 GB, free: 0.9961 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009709/0.0009704, allocations: 99.59 kB / 0.9219 GB, free: 2.238 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 3.387e-05/3.389e-05, allocations: 8 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.267/0.2671, allocations: 142.4 MB / 1.206 GB, free: 43.86 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.168/5.435, allocations: 2.174 GB / 3.38 GB, free: 124.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002774/5.435, allocations: 95.62 kB / 3.381 GB, free: 124.1 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 4.144/9.579, allocations: 1.01 GB / 4.391 GB, free: 201.6 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.924e-06/9.579, allocations: 0 / 4.391 GB, free: 201.6 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001725/9.579, allocations: 47.84 kB / 4.391 GB, free: 201.6 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: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.005427/9.585, allocations: 1.874 MB / 4.392 GB, free: 201.2 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.513e-05/9.585, allocations: 10.06 kB / 4.393 GB, free: 201.2 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001871/9.587, allocations: 346.9 kB / 4.393 GB, free: 201.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003846/9.591, allocations: 1.599 MB / 4.394 GB, free: 200.8 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.442e-05/9.591, allocations: 34.47 kB / 4.394 GB, free: 200.8 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001861/9.591, allocations: 69.12 kB / 4.394 GB, free: 200.8 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001758/9.593, allocations: 0.7867 MB / 4.395 GB, free: 200.7 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002023/9.595, allocations: 0.9782 MB / 4.396 GB, free: 200.6 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.381e-05/9.595, allocations: 3.906 kB / 4.396 GB, free: 200.6 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.081e-05/9.595, allocations: 5.953 kB / 4.396 GB, free: 200.6 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.25e-05/9.595, allocations: 39.92 kB / 4.396 GB, free: 200.6 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.006738/9.602, allocations: 5.289 MB / 4.401 GB, free: 198.1 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00111/9.603, allocations: 0.8143 MB / 4.402 GB, free: 197.9 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000477/9.603, allocations: 357.8 kB / 4.403 GB, free: 197.9 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005216/9.604, allocations: 0.6088 MB / 4.403 GB, free: 197.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.405e-05/9.604, allocations: 50.09 kB / 4.403 GB, free: 197.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=70): time 2.604e-06/9.604, allocations: 0 / 4.403 GB, free: 197.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=70): time 0.001862/9.606, allocations: 0.8168 MB / 4.404 GB, free: 197 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.895e-05/9.606, allocations: 61.22 kB / 4.404 GB, free: 197 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001026/9.607, allocations: 0.8807 MB / 4.405 GB, free: 196.8 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.859e-05/9.607, allocations: 35.73 kB / 4.405 GB, free: 196.8 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004729/9.607, allocations: 0.6917 MB / 4.406 GB, free: 196.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001793/9.608, allocations: 240.1 kB / 4.406 GB, free: 196.5 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.135e-05/9.608, allocations: 0 / 4.406 GB, free: 196.5 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.88e-05/9.608, allocations: 328.9 kB / 4.406 GB, free: 196.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000328/9.608, allocations: 236.2 kB / 4.406 GB, free: 196.2 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004575/9.608, allocations: 456.6 kB / 4.407 GB, free: 195.9 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005064/9.609, allocations: 325 kB / 4.407 GB, free: 195.9 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/9.609, allocations: 0 / 4.407 GB, free: 195.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001431/9.61, allocations: 0.8847 MB / 4.408 GB, free: 195.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002354/9.611, allocations: 1.067 MB / 4.409 GB, free: 194.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/9.611, allocations: 4.156 kB / 4.409 GB, free: 194.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002398/9.611, allocations: 87.7 kB / 4.409 GB, free: 194.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006978/9.612, allocations: 163.6 kB / 4.409 GB, free: 194.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008576/9.613, allocations: 1.786 MB / 4.411 GB, free: 193.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001367/9.614, allocations: 129.8 kB / 4.411 GB, free: 193.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.999e-05/9.614, allocations: 36.72 kB / 4.411 GB, free: 193.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 7.684e-06/9.614, allocations: 6.672 kB / 4.411 GB, free: 193.1 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001172/9.615, allocations: 0.6693 MB / 4.412 GB, free: 193 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.279e-06/9.615, allocations: 3.625 kB / 4.412 GB, free: 193 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002257/9.615, allocations: 95.3 kB / 4.412 GB, free: 193 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005417/9.616, allocations: 149.4 kB / 4.412 GB, free: 193 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002096/9.618, allocations: 2.961 MB / 4.415 GB, free: 190.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001206/9.619, allocations: 136 kB / 4.415 GB, free: 190.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.368e-05/9.619, allocations: 30.03 kB / 4.415 GB, free: 190.4 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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.0001934/9.62, allocations: 124 kB / 4.415 GB, free: 190.3 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001187/9.621, allocations: 0.7393 MB / 4.416 GB, free: 190.2 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001664/9.621, allocations: 136.8 kB / 4.416 GB, free: 190.1 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001471/9.622, allocations: 0.8443 MB / 4.417 GB, free: 190 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.377e-06/9.622, allocations: 8.625 kB / 4.417 GB, free: 190 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/9.622, allocations: 0 / 4.417 GB, free: 190 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001069/9.624, allocations: 0.9718 MB / 4.418 GB, free: 189.6 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 postOpt removeSimpleEquations (simulation): time 0.00355/9.627, allocations: 2.187 MB / 4.42 GB, free: 189.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/9.627, allocations: 5.672 kB / 4.42 GB, free: 189.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000763/9.628, allocations: 154.3 kB / 4.42 GB, free: 189.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001554/9.628, allocations: 69.5 kB / 4.42 GB, free: 189.1 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.974e-05/9.628, allocations: 7.812 kB / 4.42 GB, free: 189.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007709/9.629, allocations: 1.744 MB / 4.422 GB, free: 187.5 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.754e-06/9.629, allocations: 6.359 kB / 4.422 GB, free: 187.5 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002101/9.631, allocations: 1.409 MB / 4.423 GB, free: 187 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006269/9.632, allocations: 321.6 kB / 4.424 GB, free: 186.9 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001549/9.632, allocations: 9.672 kB / 4.424 GB, free: 186.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001014/9.633, allocations: 110.8 kB / 4.424 GB, free: 186.9 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001352/9.633, allocations: 47.2 kB / 4.424 GB, free: 186.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.482e-05/9.633, allocations: 32.48 kB / 4.424 GB, free: 186.9 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.00107/9.634, allocations: 0.6723 MB / 4.425 GB, free: 186.8 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.213e-06/9.634, allocations: 0 / 4.425 GB, free: 186.8 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003078/9.637, allocations: 0.9264 MB / 4.425 GB, free: 186.7 MB / 1.151 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.005737/9.643, allocations: 4.657 MB / 4.43 GB, free: 184.6 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.00282/9.646, allocations: 1.26 MB / 4.431 GB, free: 184.4 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.658e-06/9.646, allocations: 1.156 kB / 4.431 GB, free: 184.4 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0007259/9.647, allocations: 367.8 kB / 4.432 GB, free: 184.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003984/9.651, allocations: 0.7287 MB / 4.432 GB, free: 184.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00628/9.657, allocations: 2.38 MB / 4.435 GB, free: 183.7 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001385/9.658, allocations: 1.321 MB / 4.436 GB, free: 182.9 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002131/9.66, allocations: 427.6 kB / 4.436 GB, free: 182.9 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007794/9.661, allocations: 0.5433 MB / 4.437 GB, free: 182.9 MB / 1.151 GB Notification: Performance of SimCode: time 1.973e-06/9.661, allocations: 0 / 4.437 GB, free: 182.9 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1117/9.773, allocations: 52.08 MB / 4.488 GB, free: 181.7 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001945/9.773, allocations: 190.1 kB / 4.488 GB, free: 181.5 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.948/13.72, allocations: 0 / 4.488 GB, free: 181.5 MB / 1.151 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