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.408/2.408, 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.001116/0.001116, allocations: 192.6 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.6/1.6, allocations: 221.5 MB / 0.7824 GB, free: 0.9258 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.0009008/0.0009007, allocations: 91.8 kB / 0.9219 GB, free: 2.172 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.285e-05/2.288e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2503/0.2504, allocations: 142.4 MB / 1.206 GB, free: 43.86 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.212/1.462, allocations: 0.5202 GB / 1.726 GB, free: 6.906 MB / 1.135 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002797/1.463, allocations: 86.83 kB / 1.726 GB, free: 6.863 MB / 1.135 GB Notification: Performance of FrontEnd - DAE generated: time 1.425/2.887, allocations: 405.1 MB / 2.122 GB, free: 90.49 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.563e-06/2.887, allocations: 0 / 2.122 GB, free: 90.49 MB / 1.151 GB Notification: Performance of Transformations before backend: time 6.27e-05/2.888, allocations: 19.98 kB / 2.122 GB, free: 90.47 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.002342/2.89, allocations: 1.164 MB / 2.123 GB, free: 89.26 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/2.89, allocations: 8.562 kB / 2.123 GB, free: 89.25 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001145/2.891, allocations: 151 kB / 2.123 GB, free: 89.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001897/2.893, allocations: 0.9989 MB / 2.124 GB, free: 88.06 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.127e-05/2.893, allocations: 16 kB / 2.124 GB, free: 88.04 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.64e-05/2.893, allocations: 24 kB / 2.124 GB, free: 88.02 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004641/2.894, allocations: 286.5 kB / 2.125 GB, free: 87.74 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005972/2.894, allocations: 446.2 kB / 2.125 GB, free: 87.27 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.812e-05/2.894, allocations: 0 / 2.125 GB, free: 87.27 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.052e-05/2.894, allocations: 4 kB / 2.125 GB, free: 87.27 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/2.894, allocations: 8 kB / 2.125 GB, free: 87.26 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.001894/2.896, allocations: 2.133 MB / 2.127 GB, free: 85.01 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002954/2.896, allocations: 256.9 kB / 2.127 GB, free: 84.75 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001414/2.897, allocations: 120.8 kB / 2.127 GB, free: 84.63 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009137/2.898, allocations: 2.027 MB / 2.129 GB, free: 82.14 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.109e-05/2.898, allocations: 34.56 kB / 2.13 GB, free: 82.1 MB / 1.151 GB Notification: Performance of pre-optimization done (n=31): time 1.974e-06/2.898, allocations: 0 / 2.13 GB, free: 82.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=43): time 0.004161/2.902, allocations: 1.475 MB / 2.131 GB, free: 80.57 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.473e-05/2.902, allocations: 59.41 kB / 2.131 GB, free: 80.5 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004292/2.902, allocations: 406.1 kB / 2.131 GB, free: 80.09 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.198e-05/2.902, allocations: 29.7 kB / 2.131 GB, free: 80.06 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001597/2.902, allocations: 320.4 kB / 2.132 GB, free: 79.74 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 9.146e-05/2.903, allocations: 145.8 kB / 2.132 GB, free: 79.59 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.743e-05/2.903, allocations: 0 / 2.132 GB, free: 79.59 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.318e-05/2.903, allocations: 370.7 kB / 2.132 GB, free: 79.22 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001644/2.903, allocations: 133.1 kB / 2.132 GB, free: 79.09 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002228/2.903, allocations: 250.5 kB / 2.133 GB, free: 78.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006756/2.904, allocations: 225.5 kB / 2.133 GB, free: 78.58 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/2.904, allocations: 4 kB / 2.133 GB, free: 78.57 MB / 1.151 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001216/2.905, allocations: 0.6032 MB / 2.133 GB, free: 77.96 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002418/2.905, allocations: 1.142 MB / 2.135 GB, free: 76.73 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.968e-06/2.905, allocations: 4 kB / 2.135 GB, free: 76.72 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000455/2.906, allocations: 173.5 kB / 2.135 GB, free: 76.55 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002263/2.906, allocations: 71.91 kB / 2.135 GB, free: 76.48 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009655/2.907, allocations: 1.37 MB / 2.136 GB, free: 75.05 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00047/2.907, allocations: 31.81 kB / 2.136 GB, free: 75.02 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.459e-05/2.907, allocations: 23.98 kB / 2.136 GB, free: 75 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.021e-05/2.907, allocations: 4 kB / 2.136 GB, free: 75 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001135/2.909, allocations: 0.5202 MB / 2.137 GB, free: 74.47 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/2.909, allocations: 11.95 kB / 2.137 GB, free: 74.46 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003753/2.909, allocations: 170 kB / 2.137 GB, free: 74.29 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002554/2.909, allocations: 79.78 kB / 2.137 GB, free: 74.21 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008947/2.91, allocations: 1.366 MB / 2.138 GB, free: 72.79 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004368/2.911, allocations: 27.88 kB / 2.138 GB, free: 72.76 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.725e-05/2.911, allocations: 23.98 kB / 2.138 GB, free: 72.74 MB / 1.151 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.vol1.dynBal.medium.T:DUMMY_DER(fixed = false ) "Temperature of medium" type: Real vol1.ports[1].m_flow:VARIABLE(flow=true min = -100000.0 max = 100000.0 unit = "kg/s" ) "Mass flow rate from the connection point into the component" type: Real [1] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.vol.dynBal.medium.T:DUMMY_DER(fixed = false ) "Temperature of medium" type: Real vol.dynBal.mb_flow:VARIABLE(unit = "kg/s" protected = true ) "Mass flows across boundaries" type: Real 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 () * 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,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002014/2.911, allocations: 124.8 kB / 2.138 GB, free: 72.61 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001236/2.912, allocations: 0.5415 MB / 2.139 GB, free: 72.05 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.096e-05/2.912, allocations: 67.25 kB / 2.139 GB, free: 71.99 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001496/2.914, allocations: 0.6415 MB / 2.14 GB, free: 71.33 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/2.914, allocations: 4 kB / 2.14 GB, free: 71.33 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/2.914, allocations: 4 kB / 2.14 GB, free: 71.32 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001078/2.915, allocations: 0.6666 MB / 2.14 GB, free: 70.6 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002239/2.917, allocations: 1.364 MB / 2.142 GB, free: 69.18 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-05/2.917, allocations: 3.984 kB / 2.142 GB, free: 69.18 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001764/2.917, allocations: 51.91 kB / 2.142 GB, free: 69.12 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004233/2.918, allocations: 161.5 kB / 2.142 GB, free: 68.96 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.605e-05/2.918, allocations: 15.97 kB / 2.142 GB, free: 68.95 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000894/2.919, allocations: 1.355 MB / 2.143 GB, free: 67.54 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/2.919, allocations: 3.938 kB / 2.143 GB, free: 67.54 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001436/2.92, allocations: 0.8724 MB / 2.144 GB, free: 66.63 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002743/2.92, allocations: 196.3 kB / 2.144 GB, free: 66.42 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.255e-05/2.92, allocations: 4.062 kB / 2.144 GB, free: 66.42 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004128/2.921, allocations: 23.88 kB / 2.144 GB, free: 66.39 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.696e-05/2.921, allocations: 23.97 kB / 2.144 GB, free: 66.37 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.212e-05/2.921, allocations: 19.98 kB / 2.144 GB, free: 66.35 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0003708/2.921, allocations: 322.9 kB / 2.145 GB, free: 66.04 MB / 1.151 GB Notification: Performance of sort global known variables: time 4.21e-07/2.921, allocations: 0 / 2.145 GB, free: 66.04 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001664/2.923, allocations: 479.6 kB / 2.145 GB, free: 65.57 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_degC,vol1.dynBal.medium.T_degC) * Number of discrete variables: 0 () * Number of discrete 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.00285/2.926, allocations: 1.878 MB / 2.147 GB, free: 63.66 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001285/2.927, allocations: 0.6487 MB / 2.147 GB, free: 63.01 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/2.927, allocations: 0 / 2.147 GB, free: 63.01 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0003846/2.928, allocations: 224.1 kB / 2.148 GB, free: 62.79 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001495/2.929, allocations: 301.3 kB / 2.148 GB, free: 62.5 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002132/2.931, allocations: 1.126 MB / 2.149 GB, free: 61.33 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003264/2.932, allocations: 0.9348 MB / 2.15 GB, free: 60.37 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0007476/2.932, allocations: 267.2 kB / 2.15 GB, free: 60.11 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00025/2.933, allocations: 219.3 kB / 2.15 GB, free: 59.89 MB / 1.151 GB Notification: Performance of SimCode: time 5.31e-07/2.933, allocations: 0 / 2.15 GB, free: 59.89 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04531/2.978, allocations: 21.35 MB / 2.171 GB, free: 38.73 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001568/2.978, allocations: 193.2 kB / 2.172 GB, free: 38.53 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.994/5.972, allocations: 0 / 2.172 GB, free: 38.53 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