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.004872/0.004871, allocations: 96.56 kB / 15.73 MB, free: 6.027 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.001081/0.001081, allocations: 194.5 kB / 16.68 MB, free: 5.957 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.341/1.341, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001986/0.001986, allocations: 287.1 kB / 290.8 MB, free: 1.914 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.966/0.966, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00168/0.001681, allocations: 107.8 kB / 0.6815 GB, free: 15.39 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.164/0.1657, allocations: 86.96 MB / 0.7664 GB, free: 8.352 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.5684/0.7341, allocations: 222.6 MB / 0.9838 GB, free: 3.934 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01974/0.7539, allocations: 12.11 MB / 0.9956 GB, free: 7.789 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003241/0.7572, allocations: 71.56 kB / 0.9957 GB, free: 7.719 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.002832/0.76, allocations: 0.8654 MB / 0.9965 GB, free: 6.848 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.008092/0.7682, allocations: 2.859 MB / 0.9993 GB, free: 3.977 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.004397/0.7726, allocations: 1.437 MB / 1.001 GB, free: 2.547 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.006482/0.7791, allocations: 4.468 MB / 1.005 GB, free: 14.07 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002851/0.782, allocations: 1.714 MB / 1.007 GB, free: 12.32 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005821/0.7879, allocations: 2.471 MB / 1.009 GB, free: 9.852 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003154/0.791, allocations: 1.553 MB / 1.011 GB, free: 8.32 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0006115/0.7917, allocations: 184 kB / 1.011 GB, free: 8.141 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004628/0.7963, allocations: 2.159 MB / 1.013 GB, free: 5.977 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.001054/0.7974, allocations: 0.7129 MB / 1.014 GB, free: 5.262 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.00208/0.7995, allocations: 1.046 MB / 1.015 GB, free: 4.211 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.006483/0.8059, allocations: 3.352 MB / 1.018 GB, free: 0.8477 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.806, allocations: 0 / 1.018 GB, free: 0.8477 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.793e-06/0.806, allocations: 0 / 1.018 GB, free: 0.8477 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 0.0001011/0.8061, allocations: 0 / 1.018 GB, free: 0.8477 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.005674/0.8118, allocations: 2.344 MB / 1.02 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/0.8118, allocations: 12.03 kB / 1.02 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003413/0.8153, allocations: 0.5023 MB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003028/0.8183, allocations: 1.354 MB / 1.022 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.582e-05/0.8184, allocations: 110.7 kB / 1.022 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002556/0.8187, allocations: 152 kB / 1.022 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002782/0.8215, allocations: 1.76 MB / 1.024 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.947e-05/0.8216, allocations: 7.922 kB / 1.024 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001401/0.8217, allocations: 60 kB / 1.024 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.869e-05/0.8218, allocations: 54.48 kB / 1.024 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002196/0.824, allocations: 1.399 MB / 1.026 GB, free: 8.859 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.008613/0.8326, allocations: 7.301 MB / 1.033 GB, free: 1.18 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001561/0.8342, allocations: 1.047 MB / 1.034 GB, free: 92 kB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009363/0.8351, allocations: 0.7022 MB / 1.034 GB, free: 15.38 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002255/0.8354, allocations: 114.2 kB / 1.034 GB, free: 15.25 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.786e-05/0.8354, allocations: 51.56 kB / 1.035 GB, free: 15.19 MB / 0.795 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001157/0.8366, allocations: 310.9 kB / 1.035 GB, free: 14.88 MB / 0.795 GB Notification: Performance of pre-optimization done (n=106): time 4.458e-06/0.8366, allocations: 0 / 1.035 GB, free: 14.88 MB / 0.795 GB Notification: Performance of matching and sorting (n=112): time 0.008102/0.8447, allocations: 4.534 MB / 1.039 GB, free: 10.29 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.43e-05/0.8448, allocations: 171.3 kB / 1.039 GB, free: 10.08 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001572/0.8464, allocations: 1.259 MB / 1.041 GB, free: 8.809 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0001035/0.8465, allocations: 53.7 kB / 1.041 GB, free: 8.75 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005378/0.847, allocations: 0.7136 MB / 1.041 GB, free: 8.031 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003466/0.8474, allocations: 412.5 kB / 1.042 GB, free: 7.625 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003968/0.8478, allocations: 263.5 kB / 1.042 GB, free: 7.359 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001508/0.848, allocations: 357.9 kB / 1.042 GB, free: 7.004 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008092/0.8488, allocations: 0.5348 MB / 1.043 GB, free: 6.469 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001048/0.8498, allocations: 0.8563 MB / 1.044 GB, free: 5.488 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.0113/0.8611, allocations: 4.801 MB / 1.048 GB, free: 0.5312 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.082e-06/0.8612, allocations: 0 / 1.048 GB, free: 0.5312 MB / 0.795 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002633/0.8638, allocations: 1.628 MB / 1.05 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.458e-05/0.8638, allocations: 8 kB / 1.05 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.396e-05/0.8639, allocations: 8 kB / 1.05 GB, free: 14.88 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.596e-05/0.8639, allocations: 16 kB / 1.05 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001184/0.8651, allocations: 292.3 kB / 1.05 GB, free: 14.58 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.6e-05/0.8651, allocations: 23.92 kB / 1.05 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001382/0.8665, allocations: 56.09 kB / 1.05 GB, free: 14.5 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001264/0.8667, allocations: 64.06 kB / 1.05 GB, free: 14.44 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.0007533/0.8674, allocations: 435.1 kB / 1.051 GB, free: 14.01 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004262/0.8679, allocations: 167 kB / 1.051 GB, free: 13.85 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00222/0.8701, allocations: 1.287 MB / 1.052 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.117e-05/0.8701, allocations: 12 kB / 1.052 GB, free: 12.54 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.984e-06/0.8701, allocations: 4 kB / 1.052 GB, free: 12.54 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001562/0.8717, allocations: 1.248 MB / 1.054 GB, free: 11.22 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00599/0.8777, allocations: 3.77 MB / 1.057 GB, free: 7.246 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.209e-05/0.8777, allocations: 8 kB / 1.057 GB, free: 7.238 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001166/0.8789, allocations: 247.6 kB / 1.057 GB, free: 6.996 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.741e-05/0.8789, allocations: 12 kB / 1.057 GB, free: 6.984 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.642e-05/0.879, allocations: 43.92 kB / 1.058 GB, free: 6.941 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.801e-05/0.879, allocations: 23.88 kB / 1.058 GB, free: 6.918 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.466e-05/0.8791, allocations: 15.94 kB / 1.058 GB, free: 6.902 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002899/0.882, allocations: 2.138 MB / 1.06 GB, free: 4.613 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006423/0.8826, allocations: 363.9 kB / 1.06 GB, free: 4.238 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000199/0.8828, allocations: 47.92 kB / 1.06 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001083/0.8839, allocations: 43.97 kB / 1.06 GB, free: 4.148 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001469/0.8841, allocations: 100.3 kB / 1.06 GB, free: 4.051 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-05/0.8842, allocations: 51.98 kB / 1.06 GB, free: 4 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001131/0.8853, allocations: 0.849 MB / 1.061 GB, free: 3.152 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.71e-07/0.8853, allocations: 4 kB / 1.061 GB, free: 3.148 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001321/0.8866, allocations: 435.9 kB / 1.061 GB, free: 2.723 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.0005254/0.8872, allocations: 236.2 kB / 1.062 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001987/0.8892, allocations: 1.253 MB / 1.063 GB, free: 1.238 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 8.646e-06/0.8892, allocations: 4 kB / 1.063 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0007536/0.8899, allocations: 0.5448 MB / 1.063 GB, free: 0.6875 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003963/0.8939, allocations: 0.9304 MB / 1.064 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005053/0.899, allocations: 3.454 MB / 1.068 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000926/0.8999, allocations: 1.372 MB / 1.069 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.001349/0.9013, allocations: 389.3 kB / 1.069 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004057/0.9017, allocations: 131.4 kB / 1.07 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of SimCode: time 6.51e-07/0.9017, allocations: 0 / 1.07 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of Templates: time 0.4323/1.334, allocations: 30.63 MB / 1.099 GB, free: 289 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)