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.001051/0.001052, allocations: 101.6 kB / 16.37 MB, free: 6.43 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.001036/0.001036, allocations: 195.8 kB / 17.31 MB, free: 5.781 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.264/1.264, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002053/0.002054, allocations: 289.3 kB / 291.4 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8883/0.8883, allocations: 169.3 MB / 0.4989 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0016/0.0016, allocations: 100.7 kB / 0.5967 GB, free: 14.42 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1355, allocations: 86.97 MB / 0.6816 GB, free: 7.434 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.464/0.5995, allocations: 222.6 MB / 0.899 GB, free: 15.68 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01574/0.6152, allocations: 12.11 MB / 0.9108 GB, free: 3.539 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002335/0.6176, allocations: 75.56 kB / 0.9109 GB, free: 3.465 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002259/0.6199, allocations: 0.8577 MB / 0.9117 GB, free: 2.602 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.006568/0.6265, allocations: 2.867 MB / 0.9145 GB, free: 15.72 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.003263/0.6298, allocations: 1.428 MB / 0.9159 GB, free: 14.3 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.005869/0.6357, allocations: 4.464 MB / 0.9203 GB, free: 9.828 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002469/0.6382, allocations: 1.713 MB / 0.9219 GB, free: 8.078 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006111/0.6443, allocations: 2.462 MB / 0.9243 GB, free: 5.613 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003038/0.6473, allocations: 1.57 MB / 0.9259 GB, free: 4.062 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0003742/0.6477, allocations: 180 kB / 0.926 GB, free: 3.887 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004677/0.6524, allocations: 2.163 MB / 0.9281 GB, free: 1.719 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.000855/0.6533, allocations: 0.709 MB / 0.9288 GB, free: 1.008 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001457/0.6548, allocations: 1.046 MB / 0.9299 GB, free: 15.95 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.004527/0.6593, allocations: 3.33 MB / 0.9331 GB, free: 12.62 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.6593, allocations: 0 / 0.9331 GB, free: 12.62 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.683e-06/0.6593, allocations: 0 / 0.9331 GB, free: 12.62 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 2.311e-05/0.6593, allocations: 0 / 0.9331 GB, free: 12.62 MB / 0.7012 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.003538/0.6629, allocations: 2.288 MB / 0.9353 GB, free: 10.27 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.6629, allocations: 12.03 kB / 0.9354 GB, free: 10.26 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002875/0.6658, allocations: 0.4894 MB / 0.9358 GB, free: 9.766 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002371/0.6682, allocations: 1.341 MB / 0.9371 GB, free: 8.367 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.72e-05/0.6683, allocations: 110.7 kB / 0.9372 GB, free: 8.258 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002088/0.6685, allocations: 147.9 kB / 0.9374 GB, free: 8.113 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002506/0.671, allocations: 1.773 MB / 0.9391 GB, free: 6.23 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.45e-05/0.6711, allocations: 7.938 kB / 0.9391 GB, free: 6.223 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001269/0.6712, allocations: 60 kB / 0.9392 GB, free: 6.164 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.027e-05/0.6713, allocations: 50.55 kB / 0.9392 GB, free: 6.113 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002035/0.6733, allocations: 1.395 MB / 0.9406 GB, free: 4.711 MB / 0.7012 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.008148/0.6815, allocations: 7.289 MB / 0.9477 GB, free: 13.04 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001507/0.683, allocations: 1.059 MB / 0.9488 GB, free: 11.94 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008878/0.6839, allocations: 0.6945 MB / 0.9494 GB, free: 11.23 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002056/0.6841, allocations: 102.1 kB / 0.9495 GB, free: 11.12 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.221e-05/0.6842, allocations: 59.5 kB / 0.9496 GB, free: 11.05 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001097/0.6853, allocations: 310.5 kB / 0.9499 GB, free: 10.75 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=106): time 3.466e-06/0.6853, allocations: 0 / 0.9499 GB, free: 10.75 MB / 0.7169 GB Notification: Performance of matching and sorting (n=112): time 0.007467/0.6928, allocations: 4.442 MB / 0.9542 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.33e-05/0.6929, allocations: 171.2 kB / 0.9544 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00153/0.6944, allocations: 1.259 MB / 0.9556 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001001/0.6945, allocations: 49.7 kB / 0.9557 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005786/0.6951, allocations: 0.7047 MB / 0.9563 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.000312/0.6954, allocations: 402.2 kB / 0.9567 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003615/0.6958, allocations: 263.4 kB / 0.957 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0002031/0.696, allocations: 357.9 kB / 0.9573 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007654/0.6968, allocations: 0.5309 MB / 0.9578 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001021/0.6978, allocations: 0.8557 MB / 0.9587 GB, free: 1.457 MB / 0.7169 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.3004/0.9982, allocations: 4.797 MB / 0.9634 GB, free: 247 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.364e-06/0.9982, allocations: 2.656 kB / 0.9634 GB, free: 247 MB / 0.7169 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002632/1.001, allocations: 1.617 MB / 0.9649 GB, free: 246.4 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.331e-05/1.001, allocations: 8.594 kB / 0.9649 GB, free: 246.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.559e-05/1.001, allocations: 8.906 kB / 0.965 GB, free: 246.4 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.234e-05/1.001, allocations: 14.34 kB / 0.965 GB, free: 246.4 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001162/1.002, allocations: 288.8 kB / 0.9652 GB, free: 246.4 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.45e-05/1.002, allocations: 16.73 kB / 0.9653 GB, free: 246.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001217/1.003, allocations: 59.89 kB / 0.9653 GB, free: 246.4 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000111/1.003, allocations: 65.45 kB / 0.9654 GB, free: 246.3 MB / 0.7169 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.0006486/1.004, allocations: 421.7 kB / 0.9658 GB, free: 246.1 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003093/1.004, allocations: 161.8 kB / 0.9659 GB, free: 246.1 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002031/1.006, allocations: 1.292 MB / 0.9672 GB, free: 245.6 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.441e-05/1.007, allocations: 19.02 kB / 0.9672 GB, free: 245.6 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/1.007, allocations: 2.953 kB / 0.9672 GB, free: 245.6 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001454/1.008, allocations: 1.238 MB / 0.9684 GB, free: 244.8 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005511/1.014, allocations: 3.761 MB / 0.9721 GB, free: 242.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.38e-05/1.014, allocations: 9.344 kB / 0.9721 GB, free: 242.8 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001112/1.015, allocations: 247 kB / 0.9723 GB, free: 242.8 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-05/1.015, allocations: 14.66 kB / 0.9724 GB, free: 242.8 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.278e-05/1.015, allocations: 45.41 kB / 0.9724 GB, free: 242.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.935e-05/1.015, allocations: 25.06 kB / 0.9724 GB, free: 242.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.218e-05/1.015, allocations: 14.88 kB / 0.9724 GB, free: 242.8 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002578/1.017, allocations: 2.117 MB / 0.9745 GB, free: 241.7 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006789/1.018, allocations: 358.4 kB / 0.9749 GB, free: 241.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001939/1.018, allocations: 39.73 kB / 0.9749 GB, free: 241.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001019/1.019, allocations: 54.09 kB / 0.9749 GB, free: 241.4 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000152/1.019, allocations: 103.2 kB / 0.975 GB, free: 241.4 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.709e-05/1.02, allocations: 55.22 kB / 0.9751 GB, free: 241.4 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001122/1.021, allocations: 0.8498 MB / 0.9759 GB, free: 241.1 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/1.021, allocations: 1.969 kB / 0.9759 GB, free: 241.1 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001282/1.022, allocations: 437.1 kB / 0.9763 GB, free: 241 MB / 0.7169 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.0004302/1.022, allocations: 241 kB / 0.9766 GB, free: 240.9 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001881/1.024, allocations: 1.249 MB / 0.9778 GB, free: 240.5 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/1.024, allocations: 3.406 kB / 0.9778 GB, free: 240.5 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0006962/1.025, allocations: 0.5503 MB / 0.9783 GB, free: 240.3 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003443/1.029, allocations: 0.9368 MB / 0.9792 GB, free: 240.1 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004377/1.033, allocations: 3.398 MB / 0.9826 GB, free: 238.2 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009284/1.034, allocations: 1.373 MB / 0.9839 GB, free: 237.4 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.00131/1.035, allocations: 379.1 kB / 0.9843 GB, free: 237.4 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003776/1.036, allocations: 129.3 kB / 0.9844 GB, free: 237.3 MB / 0.7169 GB Notification: Performance of SimCode: time 7.41e-07/1.036, allocations: 0 / 0.9844 GB, free: 237.3 MB / 0.7169 GB Notification: Performance of Templates: time 0.0411/1.077, allocations: 30.37 MB / 1.014 GB, free: 221.1 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1)