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.00498/0.00498, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001132/0.001132, allocations: 195.9 kB / 16.67 MB, free: 5.977 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.306/1.306, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002048/0.002048, allocations: 286.2 kB / 290.8 MB, free: 1.922 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9392/0.9392, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001666/0.001666, allocations: 91.86 kB / 0.6815 GB, free: 15.44 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1594/0.1611, allocations: 86.98 MB / 0.7664 GB, free: 8.383 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.5579/0.719, allocations: 222.6 MB / 0.9838 GB, free: 3.988 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01743/0.7365, allocations: 12.12 MB / 0.9956 GB, free: 7.836 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002284/0.7388, allocations: 79.5 kB / 0.9957 GB, free: 7.758 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.002248/0.7411, allocations: 0.8538 MB / 0.9965 GB, free: 6.898 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.006826/0.748, allocations: 2.858 MB / 0.9993 GB, free: 4.027 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.003396/0.7514, allocations: 1.441 MB / 1.001 GB, free: 2.594 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.0058/0.7572, allocations: 4.464 MB / 1.005 GB, free: 14.12 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00246/0.7597, allocations: 1.711 MB / 1.007 GB, free: 12.38 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005816/0.7655, allocations: 2.503 MB / 1.009 GB, free: 9.871 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003083/0.7686, allocations: 1.564 MB / 1.011 GB, free: 8.328 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0004098/0.769, allocations: 180 kB / 1.011 GB, free: 8.152 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004081/0.7731, allocations: 2.163 MB / 1.013 GB, free: 5.984 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0006824/0.7738, allocations: 0.7051 MB / 1.014 GB, free: 5.277 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.001237/0.7751, allocations: 1.046 MB / 1.015 GB, free: 4.227 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.004412/0.7795, allocations: 3.338 MB / 1.018 GB, free: 0.8789 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.7795, allocations: 0 / 1.018 GB, free: 0.8789 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.843e-06/0.7795, allocations: 0 / 1.018 GB, free: 0.8789 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 2.427e-05/0.7795, allocations: 0 / 1.018 GB, free: 0.8789 MB / 0.7637 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.003522/0.7831, allocations: 2.28 MB / 1.02 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.7831, allocations: 8.031 kB / 1.02 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003088/0.7862, allocations: 0.4972 MB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0026/0.7888, allocations: 1.348 MB / 1.022 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.19e-05/0.7889, allocations: 114.6 kB / 1.022 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002261/0.7892, allocations: 144 kB / 1.022 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002699/0.7919, allocations: 1.768 MB / 1.024 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.273e-05/0.7919, allocations: 4 kB / 1.024 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001376/0.792, allocations: 60 kB / 1.024 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.926e-05/0.7921, allocations: 50.53 kB / 1.024 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002085/0.7942, allocations: 1.403 MB / 1.025 GB, free: 8.977 MB / 0.7794 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.008485/0.8027, allocations: 7.288 MB / 1.033 GB, free: 1.309 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001501/0.8042, allocations: 1.051 MB / 1.034 GB, free: 220 kB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009243/0.8052, allocations: 0.6986 MB / 1.034 GB, free: 15.5 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000198/0.8054, allocations: 110 kB / 1.034 GB, free: 15.38 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.365e-05/0.8054, allocations: 55.55 kB / 1.034 GB, free: 15.31 MB / 0.795 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001122/0.8066, allocations: 302.5 kB / 1.035 GB, free: 15.02 MB / 0.795 GB Notification: Performance of pre-optimization done (n=106): time 3.677e-06/0.8066, allocations: 0 / 1.035 GB, free: 15.02 MB / 0.795 GB Notification: Performance of matching and sorting (n=112): time 0.007596/0.8142, allocations: 4.44 MB / 1.039 GB, free: 10.5 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.473e-05/0.8143, allocations: 171.2 kB / 1.039 GB, free: 10.3 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001483/0.8158, allocations: 1.263 MB / 1.04 GB, free: 9.023 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 9.905e-05/0.8159, allocations: 53.7 kB / 1.041 GB, free: 8.965 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004934/0.8164, allocations: 0.693 MB / 1.041 GB, free: 8.266 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003287/0.8167, allocations: 406.2 kB / 1.042 GB, free: 7.863 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003535/0.8171, allocations: 267.3 kB / 1.042 GB, free: 7.594 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.8172, allocations: 357.9 kB / 1.042 GB, free: 7.238 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007816/0.818, allocations: 0.5348 MB / 1.043 GB, free: 6.703 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001012/0.819, allocations: 0.8524 MB / 1.044 GB, free: 5.727 MB / 0.795 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.01129/0.8303, allocations: 4.797 MB / 1.048 GB, free: 0.7734 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.038e-05/0.8304, allocations: 4 kB / 1.048 GB, free: 0.7695 MB / 0.795 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002602/0.833, allocations: 1.616 MB / 1.05 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/0.833, allocations: 12 kB / 1.05 GB, free: 15.13 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.436e-05/0.833, allocations: 8 kB / 1.05 GB, free: 15.12 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.344e-05/0.8331, allocations: 12 kB / 1.05 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001137/0.8342, allocations: 292.1 kB / 1.05 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.146e-05/0.8342, allocations: 20.56 kB / 1.05 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00128/0.8355, allocations: 59.77 kB / 1.05 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001059/0.8356, allocations: 63.97 kB / 1.05 GB, free: 14.68 MB / 0.8106 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.0006989/0.8363, allocations: 430 kB / 1.051 GB, free: 14.26 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003112/0.8367, allocations: 162 kB / 1.051 GB, free: 14.1 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00205/0.8387, allocations: 1.287 MB / 1.052 GB, free: 12.8 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.094e-05/0.8387, allocations: 12 kB / 1.052 GB, free: 12.79 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.8388, allocations: 0 / 1.052 GB, free: 12.79 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001506/0.8403, allocations: 1.256 MB / 1.053 GB, free: 11.47 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005587/0.8459, allocations: 3.754 MB / 1.057 GB, free: 7.512 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.948e-06/0.8459, allocations: 12 kB / 1.057 GB, free: 7.5 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001139/0.847, allocations: 247.6 kB / 1.057 GB, free: 7.258 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.818e-05/0.8471, allocations: 16 kB / 1.057 GB, free: 7.242 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.255e-05/0.8472, allocations: 44.62 kB / 1.057 GB, free: 7.199 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.658e-05/0.8472, allocations: 20.45 kB / 1.057 GB, free: 7.18 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-05/0.8472, allocations: 19.94 kB / 1.057 GB, free: 7.16 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002936/0.8501, allocations: 2.129 MB / 1.059 GB, free: 4.879 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006546/0.8508, allocations: 359 kB / 1.06 GB, free: 4.508 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002001/0.851, allocations: 40.8 kB / 1.06 GB, free: 4.469 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001037/0.8521, allocations: 43.98 kB / 1.06 GB, free: 4.426 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001673/0.8522, allocations: 100.3 kB / 1.06 GB, free: 4.328 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.384e-05/0.8523, allocations: 55.98 kB / 1.06 GB, free: 4.273 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001214/0.8535, allocations: 0.849 MB / 1.061 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2e-07/0.8536, allocations: 0 / 1.061 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001362/0.8549, allocations: 432 kB / 1.061 GB, free: 3.004 MB / 0.8106 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.000488/0.8554, allocations: 249.3 kB / 1.061 GB, free: 2.762 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001913/0.8574, allocations: 1.243 MB / 1.063 GB, free: 1.52 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.8574, allocations: 4 kB / 1.063 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0007528/0.8581, allocations: 0.5486 MB / 1.063 GB, free: 0.9648 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00365/0.8618, allocations: 0.9312 MB / 1.064 GB, free: 56 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004957/0.8668, allocations: 3.399 MB / 1.067 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001007/0.8678, allocations: 1.38 MB / 1.069 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.001321/0.8691, allocations: 385.3 kB / 1.069 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003882/0.8695, allocations: 131.4 kB / 1.069 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of SimCode: time 7.32e-07/0.8695, allocations: 0 / 1.069 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of Templates: time 0.3735/1.243, allocations: 31.18 MB / 1.1 GB, free: 288.8 MB / 0.8419 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)