Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.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.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,fileNamePrefix="Buildings_9_Buildings_Fluid_Storage_BaseClasses_Examples_IndirectTankHeatExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,fileNamePrefix="Buildings_9_Buildings_Fluid_Storage_BaseClasses_Examples_IndirectTankHeatExchanger",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.261/2.261, allocations: 387.4 MB / 394.9 MB, free: 13.36 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.001218/0.001218, allocations: 184.7 kB / 487.4 MB, free: 5.035 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.492/1.492, allocations: 221.5 MB / 0.7824 GB, free: 0.918 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.0009165/0.0009165, allocations: 105.5 kB / 0.9219 GB, free: 2.148 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.232e-05/2.234e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2837/0.2837, allocations: 142.4 MB / 1.206 GB, free: 43.86 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.245/1.528, allocations: 420.4 MB / 1.617 GB, free: 1.867 MB / 1.026 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003419/1.529, allocations: 97.38 kB / 1.617 GB, free: 1.816 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 1.592/3.121, allocations: 420.7 MB / 2.028 GB, free: 181.1 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.313e-06/3.121, allocations: 0 / 2.028 GB, free: 181.1 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001426/3.121, allocations: 47.94 kB / 2.028 GB, free: 181 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: 348 * Number of variables: 348 Notification: Performance of Generate backend data structure: time 0.003222/3.125, allocations: 1.935 MB / 2.029 GB, free: 179 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/3.125, allocations: 12.03 kB / 2.029 GB, free: 179 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006027/3.125, allocations: 221.5 kB / 2.03 GB, free: 178.8 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003151/3.129, allocations: 2.13 MB / 2.032 GB, free: 176.6 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.848e-05/3.129, allocations: 47.95 kB / 2.032 GB, free: 176.6 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001768/3.129, allocations: 95.91 kB / 2.032 GB, free: 176.5 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001963/3.131, allocations: 1.575 MB / 2.033 GB, free: 174.9 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00212/3.133, allocations: 1.645 MB / 2.035 GB, free: 173.2 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.632e-05/3.133, allocations: 3.938 kB / 2.035 GB, free: 173.2 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001083/3.133, allocations: 4 kB / 2.035 GB, free: 173.2 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.737e-05/3.133, allocations: 47.97 kB / 2.035 GB, free: 173.1 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.008479/3.142, allocations: 7.219 MB / 2.042 GB, free: 165.6 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001282/3.143, allocations: 1.269 MB / 2.043 GB, free: 164.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005836/3.143, allocations: 0.6045 MB / 2.044 GB, free: 163.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005144/3.149, allocations: 3.738 MB / 2.048 GB, free: 159.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.766e-05/3.149, allocations: 51.28 kB / 2.048 GB, free: 159.6 MB / 1.151 GB Notification: Performance of pre-optimization done (n=86): time 3.246e-06/3.149, allocations: 0 / 2.048 GB, free: 159.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=86): time 0.002325/3.151, allocations: 1.107 MB / 2.049 GB, free: 158.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.53e-05/3.151, allocations: 64.19 kB / 2.049 GB, free: 158.5 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001531/3.153, allocations: 1.247 MB / 2.05 GB, free: 157.2 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 7.38e-05/3.153, allocations: 25.7 kB / 2.05 GB, free: 157.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004503/3.153, allocations: 0.76 MB / 2.051 GB, free: 156.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002241/3.153, allocations: 303.5 kB / 2.051 GB, free: 156.1 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.82e-05/3.153, allocations: 4 kB / 2.051 GB, free: 156.1 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001017/3.154, allocations: 357.9 kB / 2.051 GB, free: 155.7 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007301/3.154, allocations: 0.6402 MB / 2.052 GB, free: 155.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008421/3.155, allocations: 0.9712 MB / 2.053 GB, free: 154 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002409/3.158, allocations: 1.177 MB / 2.054 GB, free: 152.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.948e-06/3.158, allocations: 3.938 kB / 2.054 GB, free: 152.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.003832/3.161, allocations: 2.123 MB / 2.056 GB, free: 150.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006171/3.162, allocations: 3.486 MB / 2.06 GB, free: 146.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/3.162, allocations: 12 kB / 2.06 GB, free: 146.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.237e-05/3.162, allocations: 23.95 kB / 2.06 GB, free: 146.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001156/3.163, allocations: 351.5 kB / 2.06 GB, free: 146.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.526e-05/3.163, allocations: 23.92 kB / 2.06 GB, free: 146.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001254/3.165, allocations: 166.3 kB / 2.06 GB, free: 146.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001094/3.165, allocations: 63.98 kB / 2.06 GB, free: 146.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.989e-06/3.165, allocations: 6.031 kB / 2.06 GB, free: 146.3 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003196/3.168, allocations: 1.959 MB / 2.062 GB, free: 144.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.376e-05/3.168, allocations: 12 kB / 2.062 GB, free: 144.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/3.168, allocations: 16 kB / 2.062 GB, free: 144.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001107/3.169, allocations: 356.2 kB / 2.063 GB, free: 144 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.837e-05/3.169, allocations: 19.94 kB / 2.063 GB, free: 143.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001037/3.17, allocations: 146.6 kB / 2.063 GB, free: 143.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001023/3.17, allocations: 63.98 kB / 2.063 GB, free: 143.7 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (176): * Single equations (assignments): 176 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002261/3.17, allocations: 137.6 kB / 2.063 GB, free: 143.6 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001846/3.172, allocations: 1.107 MB / 2.064 GB, free: 142.5 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002486/3.173, allocations: 134.3 kB / 2.064 GB, free: 142.3 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002117/3.175, allocations: 1.229 MB / 2.065 GB, free: 141.1 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.629e-06/3.175, allocations: 8 kB / 2.065 GB, free: 141.1 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/3.175, allocations: 4 kB / 2.065 GB, free: 141.1 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001519/3.176, allocations: 1.31 MB / 2.067 GB, free: 139.7 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004067/3.18, allocations: 2.737 MB / 2.069 GB, free: 136.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/3.18, allocations: 0 / 2.069 GB, free: 136.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006981/3.181, allocations: 179.8 kB / 2.069 GB, free: 136.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.104e-05/3.181, allocations: 4 kB / 2.069 GB, free: 136.7 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.681e-05/3.181, allocations: 15.98 kB / 2.069 GB, free: 136.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.931e-06/3.181, allocations: 8.031 kB / 2.069 GB, free: 136.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/3.181, allocations: 4 kB / 2.069 GB, free: 136.7 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002381/3.184, allocations: 1.909 MB / 2.071 GB, free: 134.7 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006206/3.184, allocations: 395.1 kB / 2.072 GB, free: 134.3 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002508/3.184, allocations: 4 kB / 2.072 GB, free: 134.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007908/3.185, allocations: 47.78 kB / 2.072 GB, free: 134.3 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.245e-05/3.185, allocations: 56.66 kB / 2.072 GB, free: 134.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.1e-05/3.185, allocations: 39.91 kB / 2.072 GB, free: 134.2 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001222/3.187, allocations: 0.9537 MB / 2.073 GB, free: 133.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.4e-07/3.187, allocations: 0 / 2.073 GB, free: 133.2 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002948/3.19, allocations: 0.9427 MB / 2.074 GB, free: 132.3 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 6 (indTanHex.vol[1].dynBal.U,indTanHex.vol[2].dynBal.U,indTanHex.vol[3].dynBal.U,indTanHex.cap[1].T,indTanHex.cap[2].T,indTanHex.cap[3].T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003754/3.193, allocations: 3.039 MB / 2.077 GB, free: 129.2 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.003047/3.196, allocations: 2.208 MB / 2.079 GB, free: 127 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/3.196, allocations: 4 kB / 2.079 GB, free: 127 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.000504/3.197, allocations: 491.3 kB / 2.079 GB, free: 126.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003148/3.2, allocations: 0.6315 MB / 2.08 GB, free: 125.9 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006124/3.206, allocations: 3.519 MB / 2.083 GB, free: 122.3 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009018/3.207, allocations: 1.718 MB / 2.085 GB, free: 120.6 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002886/3.21, allocations: 1.174 MB / 2.086 GB, free: 119.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007179/3.211, allocations: 0.5852 MB / 2.087 GB, free: 118.8 MB / 1.151 GB Notification: Performance of SimCode: time 1.333e-06/3.211, allocations: 0 / 2.087 GB, free: 118.8 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09985/3.311, allocations: 42.34 MB / 2.128 GB, free: 76.7 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002297/3.311, allocations: 201.7 kB / 2.128 GB, free: 76.5 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.34/6.651, allocations: 0 / 2.128 GB, free: 76.5 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; mkfifo Buildings_9_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe >> ../files/Buildings_9_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Storage_BaseClasses_Examples_IndirectTankHeatExchanger_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Storage_BaseClasses_Examples_IndirectTankHeatExchanger.fmu > Buildings_9_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger_res.mat does not exist to compare? outputFormat=mat