Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.451/1.451, allocations: 249.3 MB / 261.8 MB, free: 5.852 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009936/0.0009934, allocations: 188.5 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.581/1.581, allocations: 205.2 MB / 0.572 GB, free: 10.7 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008553/0.0008553, allocations: 82.53 kB / 0.6764 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.219e-05/3.221e-05, allocations: 4 kB / 0.788 GB, free: 97.05 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1968/0.1969, allocations: 106.3 MB / 0.8919 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.637/5.834, allocations: 2.203 GB / 3.095 GB, free: 165.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002539/5.834, allocations: 79.95 kB / 3.095 GB, free: 165.4 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.844/9.678, allocations: 1.064 GB / 4.159 GB, free: 94.57 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.495e-06/9.678, allocations: 4 kB / 4.159 GB, free: 94.57 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001887/9.678, allocations: 55.81 kB / 4.16 GB, free: 94.52 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 357 * Number of variables: 357 Notification: Performance of Generate backend data structure: time 0.005586/9.683, allocations: 1.884 MB / 4.161 GB, free: 92.59 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.299e-05/9.683, allocations: 8.031 kB / 4.161 GB, free: 92.58 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003945/9.684, allocations: 215 kB / 4.162 GB, free: 92.36 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0034/9.687, allocations: 0.4974 MB / 4.162 GB, free: 91.86 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003605/9.691, allocations: 1.536 MB / 4.164 GB, free: 90.27 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.497e-05/9.691, allocations: 110.8 kB / 4.164 GB, free: 90.16 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002163/9.691, allocations: 163.9 kB / 4.164 GB, free: 90 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002503/9.694, allocations: 1.715 MB / 4.166 GB, free: 88.18 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.491e-05/9.694, allocations: 7.609 kB / 4.166 GB, free: 88.17 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001339/9.694, allocations: 60 kB / 4.166 GB, free: 88.11 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.556e-05/9.694, allocations: 50.59 kB / 4.166 GB, free: 88.06 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001866/9.696, allocations: 1.333 MB / 4.167 GB, free: 86.72 MB / 0.8855 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.007485/9.703, allocations: 7.424 MB / 4.174 GB, free: 78.91 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001117/9.705, allocations: 0.9792 MB / 4.175 GB, free: 77.88 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000764/9.705, allocations: 0.6634 MB / 4.176 GB, free: 77.21 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002229/9.706, allocations: 110.1 kB / 4.176 GB, free: 77.08 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.329e-05/9.706, allocations: 55.5 kB / 4.176 GB, free: 77.02 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00139/9.707, allocations: 326.8 kB / 4.176 GB, free: 76.7 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=106): time 4.518e-06/9.707, allocations: 0 / 4.176 GB, free: 76.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=112): time 0.005466/9.712, allocations: 3.689 MB / 4.18 GB, free: 72.94 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.101e-05/9.713, allocations: 171.3 kB / 4.18 GB, free: 72.74 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001324/9.714, allocations: 1.082 MB / 4.181 GB, free: 71.65 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001133/9.714, allocations: 49.7 kB / 4.181 GB, free: 71.59 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003508/9.714, allocations: 0.7007 MB / 4.182 GB, free: 70.89 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002564/9.715, allocations: 402.2 kB / 4.182 GB, free: 70.49 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.016e-05/9.715, allocations: 32 kB / 4.182 GB, free: 70.46 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.9e-05/9.715, allocations: 353.9 kB / 4.183 GB, free: 70.11 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006534/9.715, allocations: 495.8 kB / 4.183 GB, free: 69.62 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008316/9.716, allocations: 0.8347 MB / 4.184 GB, free: 68.65 MB / 0.8855 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/9.732, allocations: 3.978 MB / 4.188 GB, free: 64.63 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.155e-06/9.732, allocations: 4 kB / 4.188 GB, free: 64.62 MB / 0.8855 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.00239/9.734, allocations: 1.534 MB / 4.189 GB, free: 63.09 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.894e-05/9.734, allocations: 8 kB / 4.189 GB, free: 63.08 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.52e-05/9.735, allocations: 12.09 kB / 4.189 GB, free: 63.07 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.417e-05/9.735, allocations: 23.95 kB / 4.189 GB, free: 63.04 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001075/9.736, allocations: 287.5 kB / 4.19 GB, free: 62.76 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.448e-05/9.736, allocations: 23.92 kB / 4.19 GB, free: 62.74 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001839/9.738, allocations: 91.78 kB / 4.19 GB, free: 62.65 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001296/9.738, allocations: 59.98 kB / 4.19 GB, free: 62.59 MB / 0.8855 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.0003011/9.738, allocations: 198.7 kB / 4.19 GB, free: 62.39 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003328/9.738, allocations: 162 kB / 4.19 GB, free: 62.23 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001989/9.74, allocations: 1.224 MB / 4.191 GB, free: 60.99 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.668e-06/9.74, allocations: 15.94 kB / 4.191 GB, free: 60.97 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/9.74, allocations: 4 kB / 4.191 GB, free: 60.97 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001189/9.742, allocations: 1.17 MB / 4.192 GB, free: 59.73 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005295/9.747, allocations: 3.703 MB / 4.196 GB, free: 55.82 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.131e-05/9.747, allocations: 12.22 kB / 4.196 GB, free: 55.81 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001067/9.748, allocations: 259.6 kB / 4.196 GB, free: 55.56 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.726e-05/9.748, allocations: 20 kB / 4.196 GB, free: 55.54 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.182e-05/9.748, allocations: 35.94 kB / 4.196 GB, free: 55.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.324e-05/9.748, allocations: 23.92 kB / 4.196 GB, free: 55.48 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.566e-06/9.748, allocations: 15.94 kB / 4.196 GB, free: 55.46 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002525/9.751, allocations: 2.797 MB / 4.199 GB, free: 52.1 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008294/9.751, allocations: 367 kB / 4.199 GB, free: 51.72 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001976/9.752, allocations: 39.98 kB / 4.199 GB, free: 51.68 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001197/9.753, allocations: 99.78 kB / 4.2 GB, free: 51.58 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001415/9.753, allocations: 96.47 kB / 4.2 GB, free: 51.48 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.78e-05/9.753, allocations: 55.97 kB / 4.2 GB, free: 51.43 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001041/9.754, allocations: 0.8282 MB / 4.201 GB, free: 50.6 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.41e-07/9.754, allocations: 0 / 4.201 GB, free: 50.6 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002166/9.756, allocations: 0.621 MB / 4.201 GB, free: 49.98 MB / 0.8855 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.006179/9.763, allocations: 8.135 MB / 4.209 GB, free: 41.41 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001877/9.764, allocations: 1.166 MB / 4.21 GB, free: 40.24 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.117e-05/9.765, allocations: 4 kB / 4.21 GB, free: 40.23 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0006458/9.765, allocations: 0.525 MB / 4.211 GB, free: 39.71 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004338/9.77, allocations: 0.8682 MB / 4.212 GB, free: 38.86 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005094/9.775, allocations: 3.186 MB / 4.215 GB, free: 35.49 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00072/9.775, allocations: 1.411 MB / 4.216 GB, free: 34.05 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001553/9.777, allocations: 377.2 kB / 4.216 GB, free: 33.67 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008052/9.778, allocations: 0.6399 MB / 4.217 GB, free: 33.03 MB / 0.8855 GB Notification: Performance of SimCode: time 6.22e-07/9.778, allocations: 0 / 4.217 GB, free: 33.03 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7343/10.51, allocations: 78.4 MB / 4.294 GB, free: 156.6 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002061/10.51, allocations: 242.3 kB / 4.294 GB, free: 156.3 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.043/15.56, allocations: 3.906 kB / 4.294 GB, free: 156.3 MB / 0.9011 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance.fmu > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1)