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.229/2.229, allocations: 390.3 MB / 402.8 MB, free: 6.723 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.001003/0.001003, allocations: 172.8 kB / 496.1 MB, free: 12.89 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 221.3 MB / 0.7915 GB, free: 5.402 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.001103/0.001103, allocations: 95.89 kB / 0.9317 GB, free: 5.711 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.633e-05/3.647e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3076/0.3077, allocations: 143 MB / 1.219 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.892/6.2, allocations: 1.931 GB / 3.15 GB, free: 382.8 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000277/6.2, allocations: 87.95 kB / 3.15 GB, free: 382.7 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 4.442/10.64, allocations: 1.112 GB / 4.262 GB, free: 143.4 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.274e-06/10.64, allocations: 3.984 kB / 4.262 GB, free: 143.4 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002533/10.64, allocations: 55.92 kB / 4.263 GB, free: 143.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.006241/10.65, allocations: 1.885 MB / 4.264 GB, free: 141.4 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.917e-05/10.65, allocations: 8.031 kB / 4.264 GB, free: 141.4 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000785/10.65, allocations: 202.8 kB / 4.265 GB, free: 141.2 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003958/10.65, allocations: 0.4894 MB / 4.265 GB, free: 140.7 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004741/10.66, allocations: 1.557 MB / 4.267 GB, free: 139.1 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001217/10.66, allocations: 110.8 kB / 4.267 GB, free: 139 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005069/10.66, allocations: 152 kB / 4.267 GB, free: 138.8 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003669/10.66, allocations: 1.695 MB / 4.268 GB, free: 137 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.68e-05/10.66, allocations: 7.938 kB / 4.268 GB, free: 137 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002116/10.66, allocations: 64 kB / 4.269 GB, free: 136.9 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.798e-05/10.66, allocations: 50.53 kB / 4.269 GB, free: 136.9 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002448/10.67, allocations: 1.329 MB / 4.27 GB, free: 135.6 MB / 1.167 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.01017/10.68, allocations: 7.399 MB / 4.277 GB, free: 127.8 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001483/10.68, allocations: 1.032 MB / 4.278 GB, free: 126.7 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000804/10.68, allocations: 0.6712 MB / 4.279 GB, free: 126 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002179/10.68, allocations: 114.1 kB / 4.279 GB, free: 125.9 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.659e-05/10.68, allocations: 51.5 kB / 4.279 GB, free: 125.8 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001509/10.68, allocations: 330.5 kB / 4.279 GB, free: 125.5 MB / 1.167 GB Notification: Performance of pre-optimization done (n=106): time 5.28e-06/10.68, allocations: 0 / 4.279 GB, free: 125.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=112): time 0.005713/10.69, allocations: 3.703 MB / 4.283 GB, free: 121.7 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.14e-05/10.69, allocations: 167.2 kB / 4.283 GB, free: 121.5 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001369/10.69, allocations: 1.071 MB / 4.284 GB, free: 120.4 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 9.583e-05/10.69, allocations: 53.7 kB / 4.284 GB, free: 120.4 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000392/10.69, allocations: 0.7004 MB / 4.285 GB, free: 119.7 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002997/10.69, allocations: 410.1 kB / 4.285 GB, free: 119.3 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.926e-05/10.69, allocations: 28 kB / 4.285 GB, free: 119.2 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.000113/10.69, allocations: 357.9 kB / 4.286 GB, free: 118.9 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006694/10.69, allocations: 0.492 MB / 4.286 GB, free: 118.4 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008714/10.69, allocations: 0.8308 MB / 4.287 GB, free: 117.4 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.01573/10.71, allocations: 4.062 MB / 4.291 GB, free: 113.3 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.224e-06/10.71, allocations: 8 kB / 4.291 GB, free: 113.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002429/10.71, allocations: 1.549 MB / 4.292 GB, free: 111.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.425e-05/10.71, allocations: 8 kB / 4.292 GB, free: 111.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/10.71, allocations: 8 kB / 4.292 GB, free: 111.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.523e-05/10.71, allocations: 16.72 kB / 4.292 GB, free: 111.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001068/10.71, allocations: 295.5 kB / 4.293 GB, free: 111.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.573e-05/10.71, allocations: 23.89 kB / 4.293 GB, free: 111.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001762/10.71, allocations: 107.7 kB / 4.293 GB, free: 111.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001137/10.71, allocations: 63.98 kB / 4.293 GB, free: 111.2 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 () * 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.0002904/10.71, allocations: 199.7 kB / 4.293 GB, free: 111 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002889/10.71, allocations: 166 kB / 4.293 GB, free: 110.9 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00206/10.71, allocations: 1.236 MB / 4.294 GB, free: 109.6 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.928e-06/10.71, allocations: 12 kB / 4.294 GB, free: 109.6 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/10.71, allocations: 8 kB / 4.294 GB, free: 109.6 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001249/10.72, allocations: 1.186 MB / 4.296 GB, free: 108.3 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005477/10.72, allocations: 3.714 MB / 4.299 GB, free: 104.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.104e-05/10.72, allocations: 12.03 kB / 4.299 GB, free: 104.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001032/10.72, allocations: 239.7 kB / 4.299 GB, free: 104.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-05/10.72, allocations: 16 kB / 4.299 GB, free: 104.2 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.774e-05/10.72, allocations: 43.94 kB / 4.3 GB, free: 104.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.331e-05/10.72, allocations: 19.94 kB / 4.3 GB, free: 104.1 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.169e-05/10.72, allocations: 19.88 kB / 4.3 GB, free: 104.1 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002559/10.72, allocations: 2.721 MB / 4.302 GB, free: 100.8 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008034/10.73, allocations: 355 kB / 4.303 GB, free: 100.4 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001751/10.73, allocations: 35.98 kB / 4.303 GB, free: 100.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001138/10.73, allocations: 95.78 kB / 4.303 GB, free: 100.3 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001422/10.73, allocations: 104.5 kB / 4.303 GB, free: 100.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.888e-05/10.73, allocations: 51.98 kB / 4.303 GB, free: 100.1 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001034/10.73, allocations: 0.8243 MB / 4.304 GB, free: 99.31 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.21e-07/10.73, allocations: 0 / 4.304 GB, free: 99.31 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002331/10.73, allocations: 0.6249 MB / 4.304 GB, free: 98.68 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 () * 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.006116/10.74, allocations: 8.052 MB / 4.312 GB, free: 90.21 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001958/10.74, allocations: 1.174 MB / 4.313 GB, free: 89.04 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.52e-05/10.74, allocations: 4 kB / 4.313 GB, free: 89.04 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0006815/10.74, allocations: 0.5259 MB / 4.314 GB, free: 88.51 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004505/10.74, allocations: 0.864 MB / 4.315 GB, free: 87.66 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005617/10.75, allocations: 3.199 MB / 4.318 GB, free: 84.29 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007615/10.75, allocations: 1.407 MB / 4.319 GB, free: 82.85 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001415/10.75, allocations: 381.2 kB / 4.319 GB, free: 82.47 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007615/10.75, allocations: 0.632 MB / 4.32 GB, free: 81.84 MB / 1.167 GB Notification: Performance of SimCode: time 8.92e-07/10.75, allocations: 0 / 4.32 GB, free: 81.84 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1149/10.87, allocations: 78.14 MB / 4.396 GB, free: 4.145 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001764/10.87, allocations: 223.8 kB / 4.397 GB, free: 3.887 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.604/15.47, allocations: 0 / 4.397 GB, free: 3.887 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