Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance") translateModel(IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 118.1 kB / 17.08 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001238/0.001238, allocations: 196.7 kB / 18.02 MB, free: 5.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.245/1.245, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6793/0.6793, allocations: 115.3 MB / 407.2 MB, free: 6.168 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 61.95 kB / 0.5584 GB, free: 32.08 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.141, allocations: 76.19 MB / 0.6328 GB, free: 4.344 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.5543/0.6954, allocations: 222.6 MB / 0.8501 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01736/0.7128, allocations: 12.11 MB / 0.862 GB, free: 0.5742 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003379/0.7162, allocations: 75.47 kB / 0.862 GB, free: 0.5469 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002474/0.7187, allocations: 0.8563 MB / 0.8629 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.007811/0.7266, allocations: 2.868 MB / 0.8657 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003822/0.7304, allocations: 1.438 MB / 0.8671 GB, free: 12.4 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.006353/0.7368, allocations: 4.464 MB / 0.8714 GB, free: 7.93 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002812/0.7396, allocations: 1.717 MB / 0.8731 GB, free: 6.172 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006432/0.7461, allocations: 2.496 MB / 0.8756 GB, free: 3.672 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003286/0.7494, allocations: 1.571 MB / 0.8771 GB, free: 2.117 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0007056/0.7501, allocations: 180 kB / 0.8773 GB, free: 1.941 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00487/0.755, allocations: 2.163 MB / 0.8794 GB, free: 15.77 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001106/0.7561, allocations: 0.6973 MB / 0.8801 GB, free: 15.07 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001936/0.758, allocations: 1.046 MB / 0.8811 GB, free: 14.02 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.006123/0.7642, allocations: 3.33 MB / 0.8843 GB, free: 10.68 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.7642, allocations: 0 / 0.8843 GB, free: 10.68 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.154e-06/0.7642, allocations: 0 / 0.8843 GB, free: 10.68 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001056/0.7643, allocations: 4 kB / 0.8843 GB, free: 10.68 MB / 0.6387 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.004302/0.7686, allocations: 2.276 MB / 0.8866 GB, free: 8.344 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.7687, allocations: 12.03 kB / 0.8866 GB, free: 8.332 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002999/0.7717, allocations: 0.4933 MB / 0.887 GB, free: 7.836 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002068/0.7738, allocations: 1.337 MB / 0.8883 GB, free: 6.441 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.659e-05/0.7738, allocations: 114.7 kB / 0.8885 GB, free: 6.328 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002237/0.7741, allocations: 147.9 kB / 0.8886 GB, free: 6.184 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00265/0.7767, allocations: 1.76 MB / 0.8903 GB, free: 4.312 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.378e-05/0.7768, allocations: 7.984 kB / 0.8903 GB, free: 4.305 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001281/0.7769, allocations: 64 kB / 0.8904 GB, free: 4.242 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.356e-05/0.777, allocations: 50.55 kB / 0.8904 GB, free: 4.191 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00216/0.7791, allocations: 1.399 MB / 0.8918 GB, free: 2.785 MB / 0.6387 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.00833/0.7875, allocations: 7.285 MB / 0.8989 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001586/0.7891, allocations: 1.063 MB / 0.9 GB, free: 10.01 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009506/0.7901, allocations: 0.6944 MB / 0.9006 GB, free: 9.305 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002103/0.7903, allocations: 110.1 kB / 0.9007 GB, free: 9.18 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.424e-05/0.7903, allocations: 51.56 kB / 0.9008 GB, free: 9.121 MB / 0.6544 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001084/0.7914, allocations: 306.6 kB / 0.9011 GB, free: 8.82 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=106): time 4.569e-06/0.7914, allocations: 0 / 0.9011 GB, free: 8.82 MB / 0.6544 GB Notification: Performance of matching and sorting (n=112): time 0.008079/0.7995, allocations: 4.444 MB / 0.9054 GB, free: 4.297 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.536e-05/0.7996, allocations: 171.3 kB / 0.9056 GB, free: 4.094 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001532/0.8012, allocations: 1.259 MB / 0.9068 GB, free: 2.824 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001074/0.8013, allocations: 53.7 kB / 0.9069 GB, free: 2.766 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005226/0.8018, allocations: 0.6969 MB / 0.9075 GB, free: 2.062 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003755/0.8022, allocations: 398.2 kB / 0.9079 GB, free: 1.668 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003796/0.8026, allocations: 267.3 kB / 0.9082 GB, free: 1.398 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001551/0.8028, allocations: 357.9 kB / 0.9085 GB, free: 1.043 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007921/0.8036, allocations: 0.5309 MB / 0.909 GB, free: 0.5117 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001013/0.8046, allocations: 0.8557 MB / 0.9099 GB, free: 15.53 MB / 0.67 GB 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) 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: vol2.dynBal.medium.p = vol2.dynBal.p_start (sin.p = vol2.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01071/0.8153, allocations: 4.798 MB / 0.9146 GB, free: 10.58 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.604e-06/0.8153, allocations: 0 / 0.9146 GB, free: 10.58 MB / 0.67 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002576/0.8179, allocations: 1.623 MB / 0.9161 GB, free: 8.945 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.335e-05/0.8179, allocations: 8 kB / 0.9162 GB, free: 8.938 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.6e-05/0.818, allocations: 8 kB / 0.9162 GB, free: 8.93 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.148e-05/0.818, allocations: 16 kB / 0.9162 GB, free: 8.914 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00111/0.8191, allocations: 288.7 kB / 0.9164 GB, free: 8.633 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.268e-05/0.8192, allocations: 27.86 kB / 0.9165 GB, free: 8.605 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001339/0.8205, allocations: 66.52 kB / 0.9165 GB, free: 8.543 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001241/0.8206, allocations: 59.98 kB / 0.9166 GB, free: 8.484 MB / 0.67 GB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start vol1.dynBal.medium.p = vol1.dynBal.p_start vol2.dynBal.medium.p = vol2.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007839/0.8214, allocations: 427.2 kB / 0.917 GB, free: 8.062 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004671/0.8219, allocations: 158.1 kB / 0.9172 GB, free: 7.906 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00213/0.824, allocations: 1.287 MB / 0.9184 GB, free: 6.605 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.656e-05/0.8241, allocations: 12 kB / 0.9184 GB, free: 6.594 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.266e-05/0.8241, allocations: 4.5 kB / 0.9184 GB, free: 6.59 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001496/0.8256, allocations: 1.248 MB / 0.9196 GB, free: 5.277 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005934/0.8315, allocations: 3.758 MB / 0.9233 GB, free: 1.32 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.233e-05/0.8316, allocations: 12 kB / 0.9233 GB, free: 1.309 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001085/0.8327, allocations: 243.6 kB / 0.9236 GB, free: 1.07 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.072e-05/0.8327, allocations: 16 kB / 0.9236 GB, free: 1.055 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.36e-05/0.8328, allocations: 43.92 kB / 0.9236 GB, free: 1.012 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.526e-05/0.8328, allocations: 19.94 kB / 0.9236 GB, free: 0.9922 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.536e-06/0.8328, allocations: 12.34 kB / 0.9236 GB, free: 0.9805 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002713/0.8356, allocations: 2.133 MB / 0.9257 GB, free: 14.69 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007438/0.8363, allocations: 359 kB / 0.9261 GB, free: 14.32 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003167/0.8366, allocations: 39.92 kB / 0.9261 GB, free: 14.28 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001151/0.8378, allocations: 53.44 kB / 0.9262 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001378/0.8379, allocations: 96.31 kB / 0.9263 GB, free: 14.13 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.346e-05/0.8381, allocations: 55.98 kB / 0.9263 GB, free: 14.08 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001145/0.8392, allocations: 0.849 MB / 0.9271 GB, free: 13.23 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.573e-06/0.8392, allocations: 112 / 0.9271 GB, free: 13.23 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001436/0.8407, allocations: 435.9 kB / 0.9276 GB, free: 12.8 MB / 0.6856 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005413/0.8412, allocations: 252.7 kB / 0.9278 GB, free: 12.57 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002043/0.8433, allocations: 1.246 MB / 0.929 GB, free: 11.32 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 7.895e-06/0.8433, allocations: 4 kB / 0.929 GB, free: 11.32 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0007489/0.844, allocations: 0.5487 MB / 0.9295 GB, free: 10.77 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003836/0.8479, allocations: 0.928 MB / 0.9305 GB, free: 9.859 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005323/0.8532, allocations: 3.472 MB / 0.9338 GB, free: 6.215 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001154/0.8544, allocations: 1.376 MB / 0.9352 GB, free: 4.805 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005313/0.8549, allocations: 127.4 kB / 0.9353 GB, free: 4.68 MB / 0.6856 GB Notification: Performance of SimCode: time 1.262e-06/0.8549, allocations: 4 kB / 0.9353 GB, free: 4.676 MB / 0.6856 GB Notification: Performance of Templates: time 0.03739/0.8923, allocations: 25.65 MB / 0.9604 GB, free: 11.17 MB / 0.7169 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.makefile (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.sim & ./IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1)