Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001123/0.001123, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001204/0.001204, allocations: 194.7 kB / 16.25 MB, free: 6.621 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.333/1.333, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002969/0.002969, allocations: 283 kB / 290.4 MB, free: 2.137 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9957/0.9957, allocations: 169.2 MB / 0.4978 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001695/0.001696, allocations: 93.44 kB / 0.5947 GB, free: 28.24 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1789/0.1806, allocations: 86.98 MB / 0.6796 GB, free: 1.062 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.5142/0.6949, allocations: 219.8 MB / 0.8943 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0191/0.714, allocations: 12.03 MB / 0.906 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002638/0.7167, allocations: 70.22 kB / 0.9061 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002166/0.7189, allocations: 0.7412 MB / 0.9068 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.006785/0.7257, allocations: 2.682 MB / 0.9094 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003606/0.7293, allocations: 1.296 MB / 0.9107 GB, free: 11.19 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.006042/0.7354, allocations: 4.466 MB / 0.915 GB, free: 6.703 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002272/0.7377, allocations: 1.682 MB / 0.9167 GB, free: 4.984 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006327/0.744, allocations: 2.457 MB / 0.9191 GB, free: 2.527 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004104/0.7481, allocations: 1.645 MB / 0.9207 GB, free: 0.9023 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0004607/0.7486, allocations: 184 kB / 0.9209 GB, free: 0.7227 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005131/0.7537, allocations: 2.272 MB / 0.9231 GB, free: 14.45 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0007921/0.7546, allocations: 0.7051 MB / 0.9238 GB, free: 13.74 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001439/0.756, allocations: 1.042 MB / 0.9248 GB, free: 12.69 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.005643/0.7617, allocations: 3.431 MB / 0.9281 GB, free: 9.25 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.7617, allocations: 0 / 0.9281 GB, free: 9.25 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.974e-06/0.7617, allocations: 4 kB / 0.9281 GB, free: 9.246 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 4.662e-05/0.7618, allocations: 0 / 0.9281 GB, free: 9.246 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.003727/0.7655, allocations: 2.285 MB / 0.9304 GB, free: 6.906 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.7655, allocations: 8.031 kB / 0.9304 GB, free: 6.898 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003042/0.7686, allocations: 0.5011 MB / 0.9309 GB, free: 6.395 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002195/0.7708, allocations: 1.251 MB / 0.9321 GB, free: 5.086 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.836e-05/0.7709, allocations: 114.7 kB / 0.9322 GB, free: 4.973 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002337/0.7711, allocations: 155.8 kB / 0.9323 GB, free: 4.82 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002756/0.7739, allocations: 1.756 MB / 0.9341 GB, free: 2.953 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.631e-05/0.774, allocations: 4 kB / 0.9341 GB, free: 2.949 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001382/0.7741, allocations: 65.62 kB / 0.9341 GB, free: 2.887 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.406e-05/0.7742, allocations: 54.53 kB / 0.9342 GB, free: 2.832 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002105/0.7763, allocations: 1.395 MB / 0.9355 GB, free: 1.43 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.009553/0.7858, allocations: 7.301 MB / 0.9427 GB, free: 9.746 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001639/0.7875, allocations: 1.059 MB / 0.9437 GB, free: 8.645 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00096/0.7885, allocations: 0.6906 MB / 0.9444 GB, free: 7.945 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002457/0.7888, allocations: 122.1 kB / 0.9445 GB, free: 7.809 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.233e-05/0.7888, allocations: 55.55 kB / 0.9446 GB, free: 7.746 MB / 0.6544 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00153/0.7904, allocations: 314.5 kB / 0.9449 GB, free: 7.438 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=106): time 8.756e-06/0.7904, allocations: 0 / 0.9449 GB, free: 7.438 MB / 0.6544 GB Notification: Performance of matching and sorting (n=112): time 0.009141/0.7995, allocations: 4.44 MB / 0.9492 GB, free: 2.918 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.495e-05/0.7996, allocations: 167.2 kB / 0.9493 GB, free: 2.719 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002346/0.802, allocations: 1.255 MB / 0.9506 GB, free: 1.453 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001501/0.8022, allocations: 53.7 kB / 0.9506 GB, free: 1.395 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006967/0.8029, allocations: 0.7045 MB / 0.9513 GB, free: 0.6836 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004958/0.8034, allocations: 398.2 kB / 0.9517 GB, free: 296 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004724/0.8039, allocations: 259.4 kB / 0.9519 GB, free: 32 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002524/0.8041, allocations: 362 kB / 0.9523 GB, free: 15.67 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001023/0.8052, allocations: 0.5309 MB / 0.9528 GB, free: 15.14 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001195/0.8064, allocations: 0.8613 MB / 0.9536 GB, free: 14.16 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.01192/0.8183, allocations: 4.803 MB / 0.9583 GB, free: 9.199 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.03e-05/0.8184, allocations: 0 / 0.9583 GB, free: 9.199 MB / 0.67 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002974/0.8213, allocations: 1.619 MB / 0.9599 GB, free: 7.57 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.912e-05/0.8214, allocations: 8 kB / 0.9599 GB, free: 7.562 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.004e-05/0.8214, allocations: 8.875 kB / 0.9599 GB, free: 7.555 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.802e-05/0.8215, allocations: 16 kB / 0.9599 GB, free: 7.539 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001195/0.8227, allocations: 291.6 kB / 0.9602 GB, free: 7.254 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.485e-05/0.8227, allocations: 23.92 kB / 0.9603 GB, free: 7.23 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00169/0.8244, allocations: 112.7 kB / 0.9604 GB, free: 7.121 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001514/0.8246, allocations: 59.98 kB / 0.9604 GB, free: 7.062 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.000886/0.8255, allocations: 429 kB / 0.9608 GB, free: 6.637 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005016/0.826, allocations: 162 kB / 0.961 GB, free: 6.477 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002366/0.8283, allocations: 1.295 MB / 0.9622 GB, free: 5.164 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.365e-05/0.8284, allocations: 12 kB / 0.9623 GB, free: 5.152 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-05/0.8284, allocations: 0 / 0.9623 GB, free: 5.152 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001682/0.8301, allocations: 1.248 MB / 0.9635 GB, free: 3.84 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00673/0.8368, allocations: 3.77 MB / 0.9672 GB, free: 15.87 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-05/0.8369, allocations: 12 kB / 0.9672 GB, free: 15.86 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001145/0.838, allocations: 243.6 kB / 0.9674 GB, free: 15.62 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.146e-05/0.838, allocations: 12 kB / 0.9674 GB, free: 15.61 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.832e-05/0.8382, allocations: 43.92 kB / 0.9675 GB, free: 15.57 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.652e-05/0.8382, allocations: 20.02 kB / 0.9675 GB, free: 15.55 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.117e-05/0.8382, allocations: 19.92 kB / 0.9675 GB, free: 15.53 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002954/0.8412, allocations: 2.121 MB / 0.9696 GB, free: 13.25 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008061/0.842, allocations: 355.7 kB / 0.9699 GB, free: 12.88 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003267/0.8423, allocations: 47.92 kB / 0.9699 GB, free: 12.84 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001348/0.8437, allocations: 93.03 kB / 0.97 GB, free: 12.75 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001468/0.8438, allocations: 96.31 kB / 0.9701 GB, free: 12.65 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001028/0.8439, allocations: 55.98 kB / 0.9702 GB, free: 12.6 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001379/0.8453, allocations: 0.849 MB / 0.971 GB, free: 11.75 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8453, allocations: 0 / 0.971 GB, free: 11.75 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001727/0.8471, allocations: 440 kB / 0.9714 GB, free: 11.32 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.0006334/0.8477, allocations: 243.1 kB / 0.9717 GB, free: 11.09 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002606/0.8503, allocations: 1.43 MB / 0.9731 GB, free: 9.66 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 7.905e-06/0.8503, allocations: 4 kB / 0.9731 GB, free: 9.656 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0007994/0.8511, allocations: 0.5468 MB / 0.9736 GB, free: 9.113 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004327/0.8555, allocations: 0.935 MB / 0.9745 GB, free: 8.207 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005799/0.8613, allocations: 4.023 MB / 0.9784 GB, free: 4.016 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001119/0.8624, allocations: 1.372 MB / 0.9798 GB, free: 2.609 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001622/0.8641, allocations: 385.3 kB / 0.9801 GB, free: 2.227 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004724/0.8645, allocations: 131.4 kB / 0.9803 GB, free: 2.102 MB / 0.6856 GB Notification: Performance of SimCode: time 1.373e-06/0.8646, allocations: 0 / 0.9803 GB, free: 2.102 MB / 0.6856 GB Notification: Performance of Templates: time 0.05158/0.9161, allocations: 30.24 MB / 1.01 GB, free: 4.305 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1)