Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.712/1.712, allocations: 289.9 MB / 297.4 MB, free: 6.363 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001105/0.001105, allocations: 168.9 kB / 366.7 MB, free: 1.668 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.75/1.75, allocations: 205.3 MB / 0.626 GB, free: 7.195 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008691/0.0008693, allocations: 98.12 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.104e-05/2.107e-05, allocations: 4 kB / 0.8598 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7788/0.7788, allocations: 116.3 MB / 0.9733 GB, free: 76.25 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.148/5.927, allocations: 2.086 GB / 3.059 GB, free: 42.91 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000219/5.927, allocations: 87.95 kB / 3.059 GB, free: 42.83 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.026/9.953, allocations: 1.073 GB / 4.132 GB, free: 51.04 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.364e-06/9.953, allocations: 0 / 4.132 GB, free: 51.04 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001538/9.953, allocations: 47.94 kB / 4.132 GB, free: 51 MB / 0.948 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.005273/9.958, allocations: 1.879 MB / 4.134 GB, free: 49.07 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.847e-05/9.959, allocations: 12.03 kB / 4.134 GB, free: 49.06 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003233/9.962, allocations: 497.2 kB / 4.134 GB, free: 48.57 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003576/9.965, allocations: 1.534 MB / 4.136 GB, free: 46.98 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.777e-05/9.965, allocations: 44 kB / 4.136 GB, free: 46.94 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001819/9.966, allocations: 87.91 kB / 4.136 GB, free: 46.86 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002116/9.968, allocations: 1.22 MB / 4.137 GB, free: 45.63 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002219/9.97, allocations: 1.491 MB / 4.138 GB, free: 44.03 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.933e-05/9.97, allocations: 7.891 kB / 4.138 GB, free: 44.02 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001199/9.97, allocations: 4 kB / 4.138 GB, free: 44.02 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.279e-05/9.97, allocations: 50.55 kB / 4.138 GB, free: 43.97 MB / 0.948 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.00858/9.979, allocations: 7.086 MB / 4.145 GB, free: 36.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001228/9.98, allocations: 0.9543 MB / 4.146 GB, free: 35.5 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006805/9.981, allocations: 0.6369 MB / 4.147 GB, free: 34.85 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002224/9.981, allocations: 118.6 kB / 4.147 GB, free: 34.71 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.366e-05/9.981, allocations: 51.88 kB / 4.147 GB, free: 34.66 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001562/9.983, allocations: 275.1 kB / 4.147 GB, free: 34.39 MB / 0.948 GB Notification: Performance of pre-optimization done (n=106): time 6.031e-06/9.983, allocations: 4 kB / 4.147 GB, free: 34.38 MB / 0.948 GB Notification: Performance of matching and sorting (n=112): time 0.006272/9.989, allocations: 3.488 MB / 4.151 GB, free: 30.83 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.976e-05/9.989, allocations: 179.6 kB / 4.151 GB, free: 30.62 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009851/9.99, allocations: 0.7743 MB / 4.152 GB, free: 29.83 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.649e-05/9.99, allocations: 25.7 kB / 4.152 GB, free: 29.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003781/9.991, allocations: 0.7145 MB / 4.152 GB, free: 29.07 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000289/9.991, allocations: 382.2 kB / 4.153 GB, free: 28.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.422e-05/9.991, allocations: 3.938 kB / 4.153 GB, free: 28.69 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001101/9.991, allocations: 357.9 kB / 4.153 GB, free: 28.34 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005809/9.992, allocations: 470.3 kB / 4.153 GB, free: 27.88 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007425/9.992, allocations: 0.7903 MB / 4.154 GB, free: 26.95 MB / 0.948 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.01502/10.01, allocations: 3.866 MB / 4.158 GB, free: 23.04 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.028e-05/10.01, allocations: 4 kB / 4.158 GB, free: 23.04 MB / 0.948 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.002191/10.01, allocations: 1.378 MB / 4.159 GB, free: 21.66 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.71e-05/10.01, allocations: 20.2 kB / 4.159 GB, free: 21.64 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.41e-05/10.01, allocations: 8 kB / 4.159 GB, free: 21.63 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.228e-05/10.01, allocations: 19.94 kB / 4.159 GB, free: 21.61 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001053/10.01, allocations: 271.6 kB / 4.16 GB, free: 21.34 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.848e-05/10.01, allocations: 19.94 kB / 4.16 GB, free: 21.32 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001665/10.01, allocations: 63.78 kB / 4.16 GB, free: 21.26 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001184/10.01, allocations: 59.98 kB / 4.16 GB, free: 21.2 MB / 0.948 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 (163): * Single equations (assignments): 163 * 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.0002844/10.01, allocations: 159.1 kB / 4.16 GB, free: 21.04 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001587/10.01, allocations: 1.104 MB / 4.161 GB, free: 19.93 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002268/10.01, allocations: 138.4 kB / 4.161 GB, free: 19.79 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001823/10.02, allocations: 1.132 MB / 4.162 GB, free: 18.64 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.306e-05/10.02, allocations: 12 kB / 4.162 GB, free: 18.63 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/10.02, allocations: 3.953 kB / 4.162 GB, free: 18.63 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001154/10.02, allocations: 1.131 MB / 4.163 GB, free: 17.43 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005106/10.02, allocations: 3.428 MB / 4.167 GB, free: 13.82 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.181e-05/10.02, allocations: 12 kB / 4.167 GB, free: 13.81 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001071/10.02, allocations: 251.6 kB / 4.167 GB, free: 13.57 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.97e-05/10.02, allocations: 18.52 kB / 4.167 GB, free: 13.55 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.925e-05/10.02, allocations: 23.98 kB / 4.167 GB, free: 13.53 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.526e-05/10.02, allocations: 19.89 kB / 4.167 GB, free: 13.51 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-05/10.02, allocations: 15.94 kB / 4.167 GB, free: 13.49 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002475/10.03, allocations: 2.607 MB / 4.17 GB, free: 10.53 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006535/10.03, allocations: 335.3 kB / 4.17 GB, free: 10.18 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001616/10.03, allocations: 15.98 kB / 4.17 GB, free: 10.17 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001116/10.03, allocations: 71.78 kB / 4.17 GB, free: 10.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001152/10.03, allocations: 104.4 kB / 4.17 GB, free: 9.996 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.73e-05/10.03, allocations: 51.98 kB / 4.17 GB, free: 9.945 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0007087/10.03, allocations: 0.5762 MB / 4.171 GB, free: 9.363 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.3e-07/10.03, allocations: 0 / 4.171 GB, free: 9.363 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001888/10.03, allocations: 0.5117 MB / 4.171 GB, free: 8.852 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 44 * Number of states: 12 (vol.dynBal.U,vol.dynBal.mXi[1],vol1.dynBal.U,vol1.dynBal.mXi[1],vol2.dynBal.U,vol2.dynBal.mXi[1],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.005814/10.04, allocations: 8.257 MB / 4.179 GB, free: 164 kB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002025/10.04, allocations: 1.09 MB / 4.18 GB, free: 15.07 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.034e-05/10.04, allocations: 4.625 kB / 4.18 GB, free: 15.07 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0007904/10.04, allocations: 0.4971 MB / 4.181 GB, free: 14.57 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003902/10.04, allocations: 0.7131 MB / 4.182 GB, free: 13.88 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006703/10.05, allocations: 3.012 MB / 4.184 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001169/10.05, allocations: 1.402 MB / 4.186 GB, free: 9.242 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.001573/10.05, allocations: 335.3 kB / 4.186 GB, free: 8.91 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009656/10.05, allocations: 0.6242 MB / 4.187 GB, free: 8.285 MB / 0.9636 GB Notification: Performance of SimCode: time 1.163e-06/10.05, allocations: 0 / 4.187 GB, free: 8.285 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8507/10.91, allocations: 51.11 MB / 4.237 GB, free: 155.7 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002553/10.91, allocations: 205.9 kB / 4.237 GB, free: 155.5 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.175/15.08, allocations: 0 / 4.237 GB, free: 155.5 MB / 0.9636 GB (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance.fmu > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1)