Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.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.MixingVolumes.Validation.CoupledVolumesGlycol47,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesGlycol47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesGlycol47",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.338/2.338, allocations: 390.3 MB / 405.3 MB, free: 13.47 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.001289/0.001289, allocations: 169.2 kB / 498.1 MB, free: 5.738 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.528/1.528, allocations: 223.2 MB / 0.7948 GB, free: 17.91 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.001105/0.001105, allocations: 95.02 kB / 0.9346 GB, free: 6.289 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003818/0.0003818, allocations: 7.703 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2752/0.2756, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.137/1.413, allocations: 0.521 GB / 1.744 GB, free: 12.32 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002983/1.413, allocations: 91.89 kB / 1.744 GB, free: 12.27 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 1.522/2.935, allocations: 409.1 MB / 2.143 GB, free: 168.9 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.384e-06/2.935, allocations: 4 kB / 2.143 GB, free: 168.9 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001162/2.935, allocations: 23.98 kB / 2.143 GB, free: 168.9 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.003456/2.938, allocations: 1.286 MB / 2.145 GB, free: 167.5 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/2.939, allocations: 12.03 kB / 2.145 GB, free: 167.5 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002551/2.939, allocations: 82.53 kB / 2.145 GB, free: 167.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001367/2.94, allocations: 159 kB / 2.145 GB, free: 167.3 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002644/2.943, allocations: 1.006 MB / 2.146 GB, free: 166.2 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.708e-05/2.943, allocations: 33 kB / 2.146 GB, free: 166.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000113/2.943, allocations: 48 kB / 2.146 GB, free: 166.1 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008292/2.944, allocations: 0.5039 MB / 2.147 GB, free: 165.6 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.256e-05/2.944, allocations: 0 / 2.147 GB, free: 165.6 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.892e-05/2.944, allocations: 16 kB / 2.147 GB, free: 165.6 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.138e-05/2.944, allocations: 12 kB / 2.147 GB, free: 165.6 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005086/2.945, allocations: 327.7 kB / 2.147 GB, free: 165.2 MB / 1.151 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.002576/2.947, allocations: 2.231 MB / 2.149 GB, free: 162.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003444/2.947, allocations: 260.1 kB / 2.149 GB, free: 162.6 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009008/2.948, allocations: 2.023 MB / 2.151 GB, free: 160.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/2.948, allocations: 42.55 kB / 2.151 GB, free: 160.1 MB / 1.151 GB Notification: Performance of pre-optimization done (n=31): time 2.495e-06/2.948, allocations: 0 / 2.151 GB, free: 160.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=43): time 0.004138/2.953, allocations: 1.789 MB / 2.153 GB, free: 158.2 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.162e-05/2.953, allocations: 59.36 kB / 2.153 GB, free: 158.1 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005667/2.953, allocations: 450.2 kB / 2.154 GB, free: 157.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.482e-05/2.953, allocations: 37.7 kB / 2.154 GB, free: 157.6 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001808/2.953, allocations: 324.4 kB / 2.154 GB, free: 157.3 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001111/2.954, allocations: 153.8 kB / 2.154 GB, free: 157.2 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.15e-05/2.954, allocations: 12 kB / 2.154 GB, free: 157.2 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.037e-05/2.954, allocations: 366.8 kB / 2.154 GB, free: 156.8 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002019/2.954, allocations: 141.1 kB / 2.155 GB, free: 156.7 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002385/2.954, allocations: 263.7 kB / 2.155 GB, free: 156.3 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002515/2.954, allocations: 197.7 kB / 2.155 GB, free: 156.2 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/2.954, allocations: 0 / 2.155 GB, free: 156.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0009241/2.955, allocations: 0.6032 MB / 2.156 GB, free: 155.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002281/2.956, allocations: 1.141 MB / 2.157 GB, free: 154.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/2.956, allocations: 7.938 kB / 2.157 GB, free: 154.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006989/2.956, allocations: 197.5 kB / 2.157 GB, free: 154.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002377/2.957, allocations: 71.89 kB / 2.157 GB, free: 154 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008245/2.957, allocations: 1.347 MB / 2.158 GB, free: 152.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005514/2.958, allocations: 35.88 kB / 2.158 GB, free: 152.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.967e-05/2.958, allocations: 20 kB / 2.158 GB, free: 152.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/2.958, allocations: 8.062 kB / 2.158 GB, free: 152.6 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007931/2.959, allocations: 0.5281 MB / 2.159 GB, free: 152 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/2.959, allocations: 4.375 kB / 2.159 GB, free: 152 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006022/2.959, allocations: 193.6 kB / 2.159 GB, free: 151.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002091/2.96, allocations: 71.86 kB / 2.159 GB, free: 151.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007154/2.96, allocations: 1.347 MB / 2.16 GB, free: 150.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005098/2.961, allocations: 35.83 kB / 2.16 GB, free: 150.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.676e-05/2.961, allocations: 24.06 kB / 2.16 GB, free: 150.3 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 39 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0003927/2.961, allocations: 289 kB / 2.161 GB, free: 150 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001251/2.961, allocations: 67.28 kB / 2.161 GB, free: 149.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001143/2.963, allocations: 0.6376 MB / 2.161 GB, free: 149.3 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/2.963, allocations: 4 kB / 2.161 GB, free: 149.3 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/2.963, allocations: 0 / 2.161 GB, free: 149.3 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007225/2.963, allocations: 0.6553 MB / 2.162 GB, free: 148.6 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00212/2.966, allocations: 1.427 MB / 2.163 GB, free: 147.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.187e-06/2.966, allocations: 4 kB / 2.163 GB, free: 147.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000168/2.966, allocations: 51.91 kB / 2.164 GB, free: 147 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008872/2.967, allocations: 217.5 kB / 2.164 GB, free: 146.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.605e-05/2.967, allocations: 12 kB / 2.164 GB, free: 146.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000765/2.967, allocations: 1.335 MB / 2.165 GB, free: 145.4 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/2.967, allocations: 3.938 kB / 2.165 GB, free: 145.4 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001175/2.969, allocations: 0.8793 MB / 2.166 GB, free: 144.5 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003451/2.969, allocations: 192.2 kB / 2.166 GB, free: 144.3 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001084/2.969, allocations: 12 kB / 2.166 GB, free: 144.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005461/2.97, allocations: 35.84 kB / 2.166 GB, free: 144.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.145e-05/2.97, allocations: 31.95 kB / 2.166 GB, free: 144.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.455e-05/2.97, allocations: 19.98 kB / 2.166 GB, free: 144.2 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0004278/2.97, allocations: 354.8 kB / 2.167 GB, free: 143.9 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.6e-07/2.97, allocations: 0 / 2.167 GB, free: 143.9 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002017/2.972, allocations: 499.6 kB / 2.167 GB, free: 143.4 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (vol.dynBal.medium.T,vol1.dynBal.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 7,2 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.002747/2.975, allocations: 1.893 MB / 2.169 GB, free: 141.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.00129/2.976, allocations: 0.676 MB / 2.169 GB, free: 140.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/2.976, allocations: 0 / 2.169 GB, free: 140.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004307/2.977, allocations: 235.8 kB / 2.17 GB, free: 140.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001516/2.978, allocations: 313.7 kB / 2.17 GB, free: 140.2 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006115/2.984, allocations: 5.523 MB / 2.175 GB, free: 134.6 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003579/2.985, allocations: 0.9414 MB / 2.176 GB, free: 133.6 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0007195/2.986, allocations: 185 kB / 2.177 GB, free: 133.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003147/2.986, allocations: 243.3 kB / 2.177 GB, free: 133.2 MB / 1.151 GB Notification: Performance of SimCode: time 1.172e-06/2.986, allocations: 0 / 2.177 GB, free: 133.2 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0437/3.03, allocations: 22.31 MB / 2.199 GB, free: 111.3 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001827/3.03, allocations: 269.9 kB / 2.199 GB, free: 110.9 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.795/5.825, allocations: 0 / 2.199 GB, free: 110.9 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesGlycol47_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesGlycol47.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47_res.mat does not exist to compare? outputFormat=mat