Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.382/2.382, allocations: 393.5 MB / 408.4 MB, free: 10.98 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.00178/0.00178, allocations: 190.8 kB / 0.4901 GB, free: 2.211 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.928/1.928, allocations: 223.1 MB / 0.7992 GB, free: 15.68 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.001314/0.001314, allocations: 96.31 kB / 0.9396 GB, free: 2.844 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004359/0.0004364, allocations: 10.41 kB / 1.09 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3705/0.3709, allocations: 143 MB / 1.229 GB, free: 85.38 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.588/5.959, allocations: 1.931 GB / 3.161 GB, free: 356 kB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003153/5.96, allocations: 90.14 kB / 3.161 GB, free: 308 kB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 5.319/11.28, allocations: 1.113 GB / 4.274 GB, free: 227.7 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.365e-06/11.28, allocations: 0 / 4.274 GB, free: 227.7 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0003184/11.28, allocations: 51.92 kB / 4.274 GB, free: 227.6 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.008427/11.29, allocations: 2.145 MB / 4.276 GB, free: 225.5 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.729e-05/11.29, allocations: 8.031 kB / 4.276 GB, free: 225.5 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009573/11.29, allocations: 210.8 kB / 4.276 GB, free: 225.2 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004066/11.29, allocations: 0.496 MB / 4.277 GB, free: 224.7 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00598/11.3, allocations: 1.585 MB / 4.278 GB, free: 223.1 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000176/11.3, allocations: 106.8 kB / 4.278 GB, free: 223 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007637/11.3, allocations: 147.9 kB / 4.278 GB, free: 222.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004953/11.3, allocations: 1.717 MB / 4.28 GB, free: 221 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.383e-05/11.3, allocations: 7.938 kB / 4.28 GB, free: 221 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003334/11.3, allocations: 59.98 kB / 4.28 GB, free: 221 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.054e-05/11.31, allocations: 50.55 kB / 4.28 GB, free: 220.9 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002935/11.31, allocations: 1.36 MB / 4.282 GB, free: 219.6 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.01175/11.32, allocations: 7.402 MB / 4.289 GB, free: 211.8 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001695/11.32, allocations: 1.053 MB / 4.29 GB, free: 210.7 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002706/11.32, allocations: 116.9 kB / 4.29 GB, free: 210.6 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.785e-05/11.32, allocations: 59.88 kB / 4.29 GB, free: 210.5 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001894/11.32, allocations: 317.9 kB / 4.29 GB, free: 210.2 MB / 1.167 GB Notification: Performance of pre-optimization done (n=106): time 1.242e-05/11.32, allocations: 0 / 4.29 GB, free: 210.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=112): time 0.01016/11.33, allocations: 4.295 MB / 4.295 GB, free: 205.9 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.765e-05/11.33, allocations: 167.2 kB / 4.295 GB, free: 205.7 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002146/11.34, allocations: 1.088 MB / 4.296 GB, free: 204.6 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001599/11.34, allocations: 53.7 kB / 4.296 GB, free: 204.5 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006306/11.34, allocations: 0.7036 MB / 4.296 GB, free: 203.8 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004351/11.34, allocations: 402.2 kB / 4.297 GB, free: 203.4 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.645e-05/11.34, allocations: 28 kB / 4.297 GB, free: 203.4 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001414/11.34, allocations: 357.9 kB / 4.297 GB, free: 203 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008325/11.34, allocations: 0.4997 MB / 4.298 GB, free: 202.5 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00101/11.34, allocations: 0.8546 MB / 4.299 GB, free: 201.5 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.009985/11.35, allocations: 3.457 MB / 4.302 GB, free: 198 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.406e-05/11.35, allocations: 4 kB / 4.302 GB, free: 198 MB / 1.167 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.003127/11.35, allocations: 1.58 MB / 4.303 GB, free: 196.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 3.326e-05/11.35, allocations: 8 kB / 4.303 GB, free: 196.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.974e-05/11.35, allocations: 8 kB / 4.303 GB, free: 196.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.068e-05/11.35, allocations: 16 kB / 4.304 GB, free: 196.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001196/11.35, allocations: 295.5 kB / 4.304 GB, free: 196.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.78e-05/11.35, allocations: 19.94 kB / 4.304 GB, free: 196.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002227/11.36, allocations: 115.9 kB / 4.304 GB, free: 196 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001945/11.36, allocations: 59.98 kB / 4.304 GB, free: 195.9 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.001242/11.36, allocations: 430.1 kB / 4.304 GB, free: 195.5 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006904/11.36, allocations: 166.1 kB / 4.305 GB, free: 195.3 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002455/11.36, allocations: 1.256 MB / 4.306 GB, free: 194.1 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.572e-05/11.36, allocations: 16 kB / 4.306 GB, free: 194.1 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.23e-05/11.36, allocations: 3.984 kB / 4.306 GB, free: 194.1 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001442/11.36, allocations: 1.205 MB / 4.307 GB, free: 192.8 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006975/11.37, allocations: 3.722 MB / 4.311 GB, free: 188.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.521e-05/11.37, allocations: 15.89 kB / 4.311 GB, free: 188.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001189/11.37, allocations: 244.5 kB / 4.311 GB, free: 188.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-05/11.37, allocations: 20 kB / 4.311 GB, free: 188.6 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000106/11.37, allocations: 39.98 kB / 4.311 GB, free: 188.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.709e-05/11.37, allocations: 15.94 kB / 4.311 GB, free: 188.5 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.898e-06/11.37, allocations: 15.94 kB / 4.311 GB, free: 188.5 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003172/11.37, allocations: 2.745 MB / 4.314 GB, free: 185.2 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00133/11.38, allocations: 359 kB / 4.314 GB, free: 184.8 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005261/11.38, allocations: 35.95 kB / 4.314 GB, free: 184.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001801/11.38, allocations: 95.69 kB / 4.314 GB, free: 184.7 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001835/11.38, allocations: 108.3 kB / 4.314 GB, free: 184.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001248/11.38, allocations: 51.98 kB / 4.314 GB, free: 184.5 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001757/11.38, allocations: 0.8373 MB / 4.315 GB, free: 183.7 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.593e-06/11.38, allocations: 3.938 kB / 4.315 GB, free: 183.7 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003294/11.38, allocations: 0.6326 MB / 4.316 GB, free: 183.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.008268/11.39, allocations: 8.059 MB / 4.324 GB, free: 174.7 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.00239/11.39, allocations: 1.195 MB / 4.325 GB, free: 173.5 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.391e-05/11.39, allocations: 4 kB / 4.325 GB, free: 173.5 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007831/11.39, allocations: 0.5329 MB / 4.325 GB, free: 172.9 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004917/11.4, allocations: 0.8656 MB / 4.326 GB, free: 172.1 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01154/11.41, allocations: 10.46 MB / 4.336 GB, free: 161.3 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009257/11.41, allocations: 1.407 MB / 4.338 GB, free: 159.9 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001933/11.41, allocations: 384 kB / 4.338 GB, free: 159.5 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009176/11.42, allocations: 0.636 MB / 4.339 GB, free: 158.9 MB / 1.167 GB Notification: Performance of SimCode: time 1.172e-06/11.42, allocations: 0 / 4.339 GB, free: 158.9 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1128/11.53, allocations: 72.24 MB / 4.409 GB, free: 87.42 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002078/11.53, allocations: 271.6 kB / 4.409 GB, free: 87.05 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.051/16.58, allocations: 7.938 kB / 4.409 GB, free: 87.04 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance_res.mat does not exist to compare? outputFormat=mat