Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.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.BaseClasses.Examples.HexElementSensible,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementSensible",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.368/2.368, allocations: 390.3 MB / 402.8 MB, free: 6.684 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.001404/0.001404, allocations: 168.9 kB / 496.1 MB, free: 12.88 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.566/1.566, allocations: 221.3 MB / 0.7915 GB, free: 5.469 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.001186/0.001187, allocations: 99.89 kB / 0.9317 GB, free: 5.781 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.664e-05/3.667e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2939/0.294, allocations: 143 MB / 1.219 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.776/6.07, allocations: 2.176 GB / 3.395 GB, free: 111.4 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002828/6.07, allocations: 95.94 kB / 3.395 GB, free: 111.3 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 4.619/10.69, allocations: 1.019 GB / 4.414 GB, free: 208.1 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.864e-06/10.69, allocations: 4.5 kB / 4.414 GB, free: 208.1 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0003833/10.69, allocations: 49.36 kB / 4.414 GB, free: 208.1 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.007488/10.7, allocations: 1.873 MB / 4.416 GB, free: 207.6 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.295e-05/10.7, allocations: 9.5 kB / 4.416 GB, free: 207.6 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007291/10.7, allocations: 170.5 kB / 4.416 GB, free: 207.5 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002827/10.7, allocations: 347.7 kB / 4.416 GB, free: 207.4 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005941/10.71, allocations: 1.598 MB / 4.418 GB, free: 207.1 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001208/10.71, allocations: 87.56 kB / 4.418 GB, free: 207.1 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004755/10.71, allocations: 114.1 kB / 4.418 GB, free: 207.1 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003677/10.71, allocations: 1.133 MB / 4.419 GB, free: 207 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.232e-05/10.71, allocations: 4.719 kB / 4.419 GB, free: 207 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002114/10.71, allocations: 50.11 kB / 4.419 GB, free: 207 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001011/10.71, allocations: 43.39 kB / 4.419 GB, free: 207 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002432/10.71, allocations: 0.8528 MB / 4.42 GB, free: 206.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.01158/10.73, allocations: 5.507 MB / 4.425 GB, free: 204.4 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001673/10.73, allocations: 0.84 MB / 4.426 GB, free: 204.1 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000709/10.73, allocations: 380.7 kB / 4.426 GB, free: 204.1 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006533/10.73, allocations: 0.6068 MB / 4.427 GB, free: 203.5 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.229e-05/10.73, allocations: 48.58 kB / 4.427 GB, free: 203.4 MB / 1.167 GB Notification: Performance of pre-optimization done (n=70): time 2.965e-06/10.73, allocations: 0.9062 kB / 4.427 GB, free: 203.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=70): time 0.002643/10.73, allocations: 0.8105 MB / 4.428 GB, free: 203.3 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.393e-05/10.73, allocations: 60.59 kB / 4.428 GB, free: 203.2 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002725/10.73, allocations: 1.045 MB / 4.429 GB, free: 203.1 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.000167/10.73, allocations: 44.2 kB / 4.429 GB, free: 203 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000756/10.74, allocations: 0.6909 MB / 4.43 GB, free: 202.9 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003056/10.74, allocations: 242.5 kB / 4.43 GB, free: 202.7 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.304e-05/10.74, allocations: 16.09 kB / 4.43 GB, free: 202.7 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001077/10.74, allocations: 335.7 kB / 4.43 GB, free: 202.4 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005143/10.74, allocations: 241.2 kB / 4.43 GB, free: 202.4 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007418/10.74, allocations: 465.8 kB / 4.431 GB, free: 202.2 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006789/10.74, allocations: 325.6 kB / 4.431 GB, free: 202.2 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/10.74, allocations: 1.219 kB / 4.431 GB, free: 202.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002214/10.74, allocations: 0.9054 MB / 4.432 GB, free: 202.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.000255/10.74, allocations: 0.9012 MB / 4.433 GB, free: 201.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.401e-05/10.74, allocations: 2.25 kB / 4.433 GB, free: 201.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003812/10.74, allocations: 105.4 kB / 4.433 GB, free: 201.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007964/10.74, allocations: 159.2 kB / 4.433 GB, free: 201.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001017/10.74, allocations: 1.761 MB / 4.435 GB, free: 199.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001921/10.74, allocations: 164.7 kB / 4.435 GB, free: 199.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001331/10.74, allocations: 34.7 kB / 4.435 GB, free: 199.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/10.74, allocations: 5.125 kB / 4.435 GB, free: 199.5 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001501/10.75, allocations: 0.7323 MB / 4.436 GB, free: 199.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/10.75, allocations: 2.812 kB / 4.436 GB, free: 199.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003111/10.75, allocations: 97.55 kB / 4.436 GB, free: 199.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006358/10.75, allocations: 146.5 kB / 4.436 GB, free: 199.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002633/10.75, allocations: 3.124 MB / 4.439 GB, free: 196.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001815/10.75, allocations: 166 kB / 4.439 GB, free: 196.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001137/10.75, allocations: 34.3 kB / 4.439 GB, free: 196.7 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.0002946/10.75, allocations: 148.5 kB / 4.44 GB, free: 196.6 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005304/10.75, allocations: 155.2 kB / 4.44 GB, free: 196.5 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002859/10.76, allocations: 0.9048 MB / 4.441 GB, free: 196.4 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.687e-05/10.76, allocations: 10.92 kB / 4.441 GB, free: 196.4 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/10.76, allocations: 0 / 4.441 GB, free: 196.4 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001415/10.76, allocations: 1.008 MB / 4.442 GB, free: 195.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 postOpt removeSimpleEquations (simulation): time 0.005895/10.76, allocations: 2.381 MB / 4.444 GB, free: 195.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.388e-06/10.76, allocations: 2.656 kB / 4.444 GB, free: 195.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007811/10.76, allocations: 163.4 kB / 4.444 GB, free: 195.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002688/10.76, allocations: 86.39 kB / 4.444 GB, free: 195.5 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.273e-05/10.76, allocations: 18.22 kB / 4.444 GB, free: 195.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008454/10.76, allocations: 1.732 MB / 4.446 GB, free: 193.8 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.755e-06/10.76, allocations: 4.188 kB / 4.446 GB, free: 193.8 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002638/10.77, allocations: 1.49 MB / 4.447 GB, free: 193.3 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001116/10.77, allocations: 340.3 kB / 4.448 GB, free: 193.2 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005016/10.77, allocations: 21.75 kB / 4.448 GB, free: 193.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001622/10.77, allocations: 120.7 kB / 4.448 GB, free: 193.2 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001441/10.77, allocations: 42.64 kB / 4.448 GB, free: 193.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.777e-05/10.77, allocations: 31.39 kB / 4.448 GB, free: 193.2 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001466/10.77, allocations: 0.8158 MB / 4.449 GB, free: 193 MB / 1.167 GB Notification: Performance of sort global known variables: time 4.21e-07/10.77, allocations: 0 / 4.449 GB, free: 193 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.00417/10.78, allocations: 0.9851 MB / 4.45 GB, free: 193 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.006143/10.78, allocations: 4.524 MB / 4.454 GB, free: 190.9 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.003023/10.79, allocations: 1.326 MB / 4.455 GB, free: 190.6 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 7.985e-06/10.79, allocations: 3.5 kB / 4.455 GB, free: 190.6 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0008308/10.79, allocations: 373.5 kB / 4.456 GB, free: 190.6 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005021/10.79, allocations: 0.8037 MB / 4.456 GB, free: 190.6 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008018/10.8, allocations: 2.464 MB / 4.459 GB, free: 189.9 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001116/10.8, allocations: 1.319 MB / 4.46 GB, free: 189.2 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002363/10.8, allocations: 460.8 kB / 4.461 GB, free: 189.2 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006584/10.8, allocations: 0.5523 MB / 4.461 GB, free: 189.2 MB / 1.167 GB Notification: Performance of SimCode: time 1.332e-06/10.8, allocations: 0.6562 kB / 4.461 GB, free: 189.2 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1444/10.95, allocations: 74.16 MB / 4.534 GB, free: 187.2 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003028/10.95, allocations: 248.6 kB / 4.534 GB, free: 186.9 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.885/15.83, allocations: 1.25 kB / 4.534 GB, free: 186.9 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementSensible_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementSensible.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible_res.mat does not exist to compare? outputFormat=mat