Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.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.MoistureMixingConservationDynamicBalance,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance",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.362/2.362, allocations: 390.3 MB / 405.3 MB, free: 13.5 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.001147/0.001147, allocations: 171.3 kB / 498.1 MB, free: 5.766 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.494/1.494, allocations: 223.2 MB / 0.7948 GB, free: 17.86 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.001166/0.001166, allocations: 103.8 kB / 0.9346 GB, free: 6.141 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003632/0.0003632, allocations: 14.28 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3139/0.3143, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.412/4.727, allocations: 1.931 GB / 3.153 GB, free: 82.21 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003105/4.727, allocations: 99.45 kB / 3.154 GB, free: 82.12 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 4.642/9.369, allocations: 1.113 GB / 4.267 GB, free: 256.3 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.255e-06/9.369, allocations: 0 / 4.267 GB, free: 256.3 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002506/9.37, allocations: 51.88 kB / 4.267 GB, free: 256.3 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: 351 * Number of variables: 351 Notification: Performance of Generate backend data structure: time 0.007556/9.377, allocations: 2.142 MB / 4.269 GB, free: 255.4 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.449e-05/9.377, allocations: 11.38 kB / 4.269 GB, free: 255.4 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000876/9.378, allocations: 208.6 kB / 4.269 GB, free: 255.4 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004002/9.382, allocations: 498.8 kB / 4.27 GB, free: 255.2 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005316/9.388, allocations: 1.574 MB / 4.271 GB, free: 254.9 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001576/9.388, allocations: 110.2 kB / 4.271 GB, free: 254.9 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006506/9.388, allocations: 161.2 kB / 4.271 GB, free: 254.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004563/9.393, allocations: 1.715 MB / 4.273 GB, free: 254.6 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.236e-05/9.393, allocations: 3.188 kB / 4.273 GB, free: 254.6 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003001/9.393, allocations: 60.97 kB / 4.273 GB, free: 254.6 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.478e-05/9.393, allocations: 54.33 kB / 4.273 GB, free: 254.6 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002702/9.396, allocations: 1.362 MB / 4.274 GB, free: 254.5 MB / 1.167 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.01081/9.407, allocations: 7.417 MB / 4.282 GB, free: 250.5 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001655/9.409, allocations: 1.04 MB / 4.283 GB, free: 250.4 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002352/9.409, allocations: 119.2 kB / 4.283 GB, free: 250.3 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.867e-05/9.409, allocations: 50.88 kB / 4.283 GB, free: 250.2 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001731/9.411, allocations: 323.5 kB / 4.283 GB, free: 250.2 MB / 1.167 GB Notification: Performance of pre-optimization done (n=106): time 7.965e-06/9.411, allocations: 0 / 4.283 GB, free: 250.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=112): time 0.009668/9.42, allocations: 4.296 MB / 4.287 GB, free: 248.8 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.053e-05/9.421, allocations: 172.4 kB / 4.288 GB, free: 248.6 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002142/9.423, allocations: 1.088 MB / 4.289 GB, free: 248.4 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001721/9.423, allocations: 59.05 kB / 4.289 GB, free: 248.4 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006142/9.424, allocations: 0.6932 MB / 4.289 GB, free: 248.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004339/9.424, allocations: 402.4 kB / 4.29 GB, free: 247.9 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.583e-05/9.424, allocations: 25.5 kB / 4.29 GB, free: 247.9 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.000135/9.424, allocations: 359.8 kB / 4.29 GB, free: 247.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009505/9.425, allocations: 0.5005 MB / 4.291 GB, free: 247.6 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00105/9.426, allocations: 0.8478 MB / 4.291 GB, free: 247.2 MB / 1.167 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol2.dynBal.medium.p = vol2.dynBal.p_start (sin.p = vol2.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol1.dynBal.medium.p = vol1.dynBal.p_start (sin.p = vol1.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01009/9.436, allocations: 3.458 MB / 4.295 GB, free: 246.9 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.31e-05/9.436, allocations: 7.406 kB / 4.295 GB, free: 246.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.003014/9.439, allocations: 1.581 MB / 4.296 GB, free: 246.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 3.333e-05/9.439, allocations: 12.58 kB / 4.296 GB, free: 246.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.712e-05/9.439, allocations: 7.438 kB / 4.296 GB, free: 246.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.681e-05/9.44, allocations: 17.53 kB / 4.296 GB, free: 246.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001208/9.441, allocations: 282.5 kB / 4.297 GB, free: 246.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.373e-05/9.441, allocations: 22.45 kB / 4.297 GB, free: 246.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002168/9.443, allocations: 123 kB / 4.297 GB, free: 246.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001974/9.443, allocations: 61.42 kB / 4.297 GB, free: 246.8 MB / 1.167 GB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization sytem: vol2.dynBal.medium.p = vol2.dynBal.p_start vol1.dynBal.medium.p = vol1.dynBal.p_start vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 6 (intMasVapOut.local_reset,intEntIn.local_reset,intEntOut.local_reset,intMasFloIn.local_reset,intMasFloOut.local_reset,intMasFloVapIn.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (169): * Single equations (assignments): 169 * 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.001198/9.444, allocations: 420.9 kB / 4.297 GB, free: 246.6 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000661/9.445, allocations: 159.3 kB / 4.297 GB, free: 246.6 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002567/9.448, allocations: 1.261 MB / 4.299 GB, free: 246.5 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.645e-05/9.448, allocations: 18.44 kB / 4.299 GB, free: 246.5 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.488e-06/9.448, allocations: 0 / 4.299 GB, free: 246.5 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00148/9.449, allocations: 1.207 MB / 4.3 GB, free: 246.1 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008049/9.457, allocations: 3.728 MB / 4.303 GB, free: 245.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.262e-05/9.457, allocations: 11.75 kB / 4.303 GB, free: 245.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001253/9.459, allocations: 251.6 kB / 4.304 GB, free: 245.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.04e-05/9.459, allocations: 14.62 kB / 4.304 GB, free: 245.1 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000129/9.459, allocations: 34.56 kB / 4.304 GB, free: 245.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.304e-05/9.459, allocations: 23.33 kB / 4.304 GB, free: 245.1 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.307e-05/9.459, allocations: 15.12 kB / 4.304 GB, free: 245.1 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004075/9.463, allocations: 2.755 MB / 4.306 GB, free: 242.9 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001568/9.465, allocations: 361.1 kB / 4.307 GB, free: 242.7 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006792/9.465, allocations: 34.16 kB / 4.307 GB, free: 242.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002141/9.467, allocations: 90.98 kB / 4.307 GB, free: 242.6 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002167/9.468, allocations: 100.4 kB / 4.307 GB, free: 242.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001564/9.468, allocations: 53.98 kB / 4.307 GB, free: 242.6 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.002046/9.47, allocations: 0.8361 MB / 4.308 GB, free: 242.3 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.4e-07/9.47, allocations: 0 / 4.308 GB, free: 242.3 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.004027/9.474, allocations: 0.6317 MB / 4.309 GB, free: 242.1 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 44 * Number of states: 12 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol2.dynBal.medium.Xi[1],vol2.dynBal.U,intMasFloVapIn.y,intMasFloOut.y,intMasFloIn.y,intEntOut.y,intEntIn.y,intMasVapOut.y) * 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 (115): * Single equations (assignments): 115 * 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 Backend phase and start with SimCode phase: time 0.008898/9.483, allocations: 8.069 MB / 4.316 GB, free: 236.1 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002508/9.485, allocations: 1.194 MB / 4.318 GB, free: 235.7 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.512e-05/9.485, allocations: 4.875 kB / 4.318 GB, free: 235.7 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0008989/9.486, allocations: 0.5341 MB / 4.318 GB, free: 235.5 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005119/9.491, allocations: 0.8654 MB / 4.319 GB, free: 235.3 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01212/9.504, allocations: 10.46 MB / 4.329 GB, free: 226.9 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001482/9.505, allocations: 1.407 MB / 4.331 GB, free: 226.1 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002166/9.507, allocations: 378.7 kB / 4.331 GB, free: 226.1 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001035/9.508, allocations: 0.6338 MB / 4.332 GB, free: 225.7 MB / 1.167 GB Notification: Performance of SimCode: time 1.573e-06/9.508, allocations: 0 / 4.332 GB, free: 225.7 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1224/9.631, allocations: 72.26 MB / 4.402 GB, free: 164 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001878/9.631, allocations: 246 kB / 4.402 GB, free: 163.7 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.445/14.08, allocations: 4 kB / 4.402 GB, free: 163.7 MB / 1.167 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance_res.mat does not exist to compare? outputFormat=mat