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.342/2.342, allocations: 387.1 MB / 399.7 MB, free: 9.477 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.001034/0.001034, allocations: 176.9 kB / 492.3 MB, free: 0.6562 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.441/1.441, allocations: 221.3 MB / 0.7871 GB, free: 12.94 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.0008751/0.0008751, allocations: 95.88 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.675e-05/4.676e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2519/0.252, allocations: 142.3 MB / 1.212 GB, free: 38.48 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.191/1.443, allocations: 0.5209 GB / 1.733 GB, free: 14.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002847/1.443, allocations: 90.27 kB / 1.733 GB, free: 14.56 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.48/2.924, allocations: 408 MB / 2.132 GB, free: 75.98 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.335e-06/2.924, allocations: 3.938 kB / 2.132 GB, free: 75.98 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001226/2.924, allocations: 23.98 kB / 2.132 GB, free: 75.96 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.003057/2.927, allocations: 1.172 MB / 2.133 GB, free: 74.74 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/2.927, allocations: 12.03 kB / 2.133 GB, free: 74.73 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001899/2.927, allocations: 86.47 kB / 2.133 GB, free: 74.63 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001498/2.929, allocations: 155 kB / 2.133 GB, free: 74.48 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002585/2.931, allocations: 0.9831 MB / 2.134 GB, free: 73.45 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.648e-05/2.931, allocations: 33 kB / 2.134 GB, free: 73.42 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001048/2.931, allocations: 51.91 kB / 2.134 GB, free: 73.37 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008498/2.932, allocations: 0.4962 MB / 2.135 GB, free: 72.84 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.06e-05/2.932, allocations: 3.938 kB / 2.135 GB, free: 72.84 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.34e-05/2.932, allocations: 27.95 kB / 2.135 GB, free: 72.81 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/2.932, allocations: 12 kB / 2.135 GB, free: 72.8 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000531/2.933, allocations: 315.8 kB / 2.135 GB, free: 72.49 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.00244/2.935, allocations: 2.227 MB / 2.137 GB, free: 70.14 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003574/2.936, allocations: 259.5 kB / 2.138 GB, free: 69.88 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001664/2.936, allocations: 133.4 kB / 2.138 GB, free: 69.74 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009466/2.937, allocations: 2.015 MB / 2.14 GB, free: 67.27 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.464e-05/2.937, allocations: 46.55 kB / 2.14 GB, free: 67.21 MB / 1.151 GB Notification: Performance of pre-optimization done (n=31): time 2.404e-06/2.937, allocations: 4 kB / 2.14 GB, free: 67.21 MB / 1.151 GB Notification: Performance of matching and sorting (n=43): time 0.003606/2.941, allocations: 1.462 MB / 2.141 GB, free: 65.68 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.244e-05/2.941, allocations: 55.41 kB / 2.141 GB, free: 65.62 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005312/2.941, allocations: 437 kB / 2.142 GB, free: 65.18 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.844e-05/2.941, allocations: 33.7 kB / 2.142 GB, free: 65.14 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001691/2.941, allocations: 332.4 kB / 2.142 GB, free: 64.82 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001099/2.941, allocations: 165.7 kB / 2.142 GB, free: 64.65 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.827e-05/2.941, allocations: 8 kB / 2.142 GB, free: 64.64 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.277e-05/2.942, allocations: 362.8 kB / 2.143 GB, free: 64.28 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002085/2.942, allocations: 141.1 kB / 2.143 GB, free: 64.14 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002497/2.942, allocations: 263.6 kB / 2.143 GB, free: 63.84 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002627/2.942, allocations: 193.5 kB / 2.143 GB, free: 63.65 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/2.942, allocations: 0 / 2.143 GB, free: 63.65 MB / 1.151 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0009377/2.943, allocations: 0.6029 MB / 2.144 GB, free: 63.03 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002604/2.944, allocations: 1.134 MB / 2.145 GB, free: 61.81 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/2.944, allocations: 0 / 2.145 GB, free: 61.81 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000693/2.944, allocations: 197.5 kB / 2.145 GB, free: 61.61 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002349/2.945, allocations: 71.84 kB / 2.145 GB, free: 61.54 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008351/2.945, allocations: 1.331 MB / 2.146 GB, free: 60.16 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005262/2.946, allocations: 36.03 kB / 2.146 GB, free: 60.12 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.692e-05/2.946, allocations: 24 kB / 2.146 GB, free: 60.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/2.946, allocations: 7.953 kB / 2.146 GB, free: 60.09 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008023/2.947, allocations: 0.5204 MB / 2.147 GB, free: 59.56 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/2.947, allocations: 4 kB / 2.147 GB, free: 59.56 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000592/2.947, allocations: 189.6 kB / 2.147 GB, free: 59.37 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002035/2.948, allocations: 67.91 kB / 2.147 GB, free: 59.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007138/2.948, allocations: 1.331 MB / 2.148 GB, free: 57.92 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005121/2.949, allocations: 43.94 kB / 2.148 GB, free: 57.88 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.331e-05/2.949, allocations: 24 kB / 2.149 GB, free: 57.85 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 () * 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 {1 9,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0001519/2.949, allocations: 136 kB / 2.149 GB, free: 57.71 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001204/2.949, allocations: 55.34 kB / 2.149 GB, free: 57.66 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00117/2.95, allocations: 0.6418 MB / 2.149 GB, free: 57 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.04e-05/2.95, allocations: 8 kB / 2.149 GB, free: 57 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/2.95, allocations: 0 / 2.149 GB, free: 57 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007378/2.951, allocations: 0.6394 MB / 2.15 GB, free: 56.3 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002065/2.953, allocations: 1.427 MB / 2.151 GB, free: 54.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-06/2.953, allocations: 0 / 2.151 GB, free: 54.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001667/2.953, allocations: 39.98 kB / 2.151 GB, free: 54.77 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006998/2.954, allocations: 201.6 kB / 2.152 GB, free: 54.56 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.203e-05/2.954, allocations: 19.98 kB / 2.152 GB, free: 54.54 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007572/2.955, allocations: 1.331 MB / 2.153 GB, free: 53.16 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/2.955, allocations: 0 / 2.153 GB, free: 53.16 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001109/2.956, allocations: 0.8598 MB / 2.154 GB, free: 52.27 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003164/2.956, allocations: 196.3 kB / 2.154 GB, free: 52.06 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001003/2.957, allocations: 15.95 kB / 2.154 GB, free: 52.04 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004988/2.957, allocations: 31.89 kB / 2.154 GB, free: 52.01 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.804e-05/2.957, allocations: 27.95 kB / 2.154 GB, free: 51.98 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.008e-05/2.957, allocations: 23.98 kB / 2.154 GB, free: 51.96 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0003857/2.958, allocations: 345.6 kB / 2.154 GB, free: 51.62 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.8e-07/2.958, allocations: 0 / 2.154 GB, free: 51.62 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001643/2.959, allocations: 0.4918 MB / 2.155 GB, free: 51.13 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.00262/2.962, allocations: 1.882 MB / 2.157 GB, free: 49.22 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001161/2.963, allocations: 0.6561 MB / 2.157 GB, free: 48.57 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.758e-06/2.963, allocations: 8.125 kB / 2.157 GB, free: 48.56 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004328/2.963, allocations: 231.8 kB / 2.158 GB, free: 48.33 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001452/2.965, allocations: 312.1 kB / 2.158 GB, free: 48.04 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002334/2.967, allocations: 1.156 MB / 2.159 GB, free: 46.83 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003353/2.968, allocations: 0.9313 MB / 2.16 GB, free: 45.87 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.000805/2.968, allocations: 263.2 kB / 2.16 GB, free: 45.62 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002653/2.969, allocations: 227.3 kB / 2.16 GB, free: 45.39 MB / 1.151 GB Notification: Performance of SimCode: time 5.81e-07/2.969, allocations: 4 kB / 2.16 GB, free: 45.39 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05544/3.024, allocations: 23.17 MB / 2.183 GB, free: 22.57 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001833/3.024, allocations: 232.3 kB / 2.183 GB, free: 22.26 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.981/6.006, allocations: 0 / 2.183 GB, free: 22.26 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