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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.9918/0.9918, allocations: 143.4 MB / 159.2 MB, free: 4.914 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 176.5 kB / 191.9 MB, free: 5.746 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.378/1.378, allocations: 222.9 MB / 447.3 MB, free: 5.879 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001013/0.001013, allocations: 103.8 kB / 0.517 GB, free: 3.703 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001853/0.001853, allocations: 279 kB / 0.5973 GB, free: 49.37 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 87.84 kB / 0.6885 GB, free: 3.832 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3038/0.3051, allocations: 81.29 MB / 0.7679 GB, free: 27.65 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.4957/0.8009, allocations: 220.3 MB / 0.983 GB, free: 14.59 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.0162/0.8171, allocations: 12.17 MB / 0.9949 GB, free: 9.852 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003239/0.8204, allocations: 61.41 kB / 0.995 GB, free: 9.828 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.00215/0.8226, allocations: 0.7134 MB / 0.9957 GB, free: 9.285 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.006622/0.8292, allocations: 2.68 MB / 0.9983 GB, free: 7.648 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.00315/0.8324, allocations: 1.269 MB / 0.9995 GB, free: 6.797 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.005924/0.8383, allocations: 6.065 MB / 1.005 GB, free: 3.68 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001994/0.8404, allocations: 1.488 MB / 1.007 GB, free: 2.77 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005145/0.8455, allocations: 2.214 MB / 1.009 GB, free: 1.137 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003483/0.849, allocations: 1.597 MB / 1.011 GB, free: 15.67 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.000288/0.8493, allocations: 104 kB / 1.011 GB, free: 15.57 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00436/0.8537, allocations: 2.467 MB / 1.013 GB, free: 13.38 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0006183/0.8543, allocations: 0.6317 MB / 1.014 GB, free: 12.76 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.001082/0.8554, allocations: 0.9528 MB / 1.015 GB, free: 11.81 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.003901/0.8593, allocations: 3.335 MB / 1.018 GB, free: 8.648 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.8593, allocations: 0 / 1.018 GB, free: 8.648 MB / 0.5886 GB Notification: Performance of FrontEnd: time 8.52e-07/0.8593, allocations: 0 / 1.018 GB, free: 8.648 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 2.863e-05/0.8594, allocations: 4 kB / 1.018 GB, free: 8.645 MB / 0.5886 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.00345/0.8628, allocations: 2.262 MB / 1.02 GB, free: 6.348 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.8629, allocations: 12.03 kB / 1.02 GB, free: 6.336 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002742/0.8656, allocations: 0.4914 MB / 1.021 GB, free: 5.844 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002155/0.8678, allocations: 1.228 MB / 1.022 GB, free: 4.586 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.747e-05/0.8679, allocations: 114.7 kB / 1.022 GB, free: 4.473 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002321/0.8681, allocations: 151.9 kB / 1.022 GB, free: 4.324 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002685/0.8708, allocations: 1.761 MB / 1.024 GB, free: 2.461 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.003e-05/0.8709, allocations: 3.938 kB / 1.024 GB, free: 2.457 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001217/0.871, allocations: 63.94 kB / 1.024 GB, free: 2.395 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.014e-05/0.8711, allocations: 54.53 kB / 1.024 GB, free: 2.34 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002031/0.8731, allocations: 1.395 MB / 1.025 GB, free: 0.9375 MB / 0.5886 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.007797/0.8809, allocations: 7.263 MB / 1.032 GB, free: 9.352 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00133/0.8822, allocations: 1.028 MB / 1.033 GB, free: 8.285 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008779/0.8831, allocations: 0.6945 MB / 1.034 GB, free: 7.578 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002003/0.8833, allocations: 120.8 kB / 1.034 GB, free: 7.445 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.01e-05/0.8834, allocations: 51.55 kB / 1.034 GB, free: 7.383 MB / 0.6042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009838/0.8844, allocations: 300.9 kB / 1.035 GB, free: 7.09 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=106): time 2.675e-06/0.8844, allocations: 4 kB / 1.035 GB, free: 7.086 MB / 0.6042 GB Notification: Performance of matching and sorting (n=112): time 0.0065/0.8909, allocations: 4.281 MB / 1.039 GB, free: 2.723 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.113e-05/0.891, allocations: 175.1 kB / 1.039 GB, free: 2.516 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001382/0.8924, allocations: 1.246 MB / 1.04 GB, free: 1.258 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.773e-05/0.8925, allocations: 53.83 kB / 1.04 GB, free: 1.199 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005065/0.893, allocations: 0.6978 MB / 1.041 GB, free: 0.5 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002969/0.8933, allocations: 393.8 kB / 1.041 GB, free: 120 kB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003787/0.8937, allocations: 263.3 kB / 1.041 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.8938, allocations: 361.9 kB / 1.042 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007597/0.8946, allocations: 0.5114 MB / 1.042 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009823/0.8956, allocations: 0.8508 MB / 1.043 GB, free: 14.01 MB / 0.6198 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.01074/0.9063, allocations: 4.72 MB / 1.048 GB, free: 9.129 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.722e-06/0.9064, allocations: 4 kB / 1.048 GB, free: 9.125 MB / 0.6198 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002417/0.9088, allocations: 1.596 MB / 1.049 GB, free: 7.52 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.9088, allocations: 11.28 kB / 1.049 GB, free: 7.512 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.354e-05/0.9088, allocations: 8 kB / 1.049 GB, free: 7.504 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.139e-05/0.9089, allocations: 12 kB / 1.049 GB, free: 7.492 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00108/0.9099, allocations: 299.5 kB / 1.05 GB, free: 7.199 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.282e-05/0.91, allocations: 27.94 kB / 1.05 GB, free: 7.172 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001387/0.9114, allocations: 91.69 kB / 1.05 GB, free: 7.082 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001016/0.9115, allocations: 59.98 kB / 1.05 GB, free: 7.023 MB / 0.6198 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.0006677/0.9122, allocations: 425.3 kB / 1.05 GB, free: 6.598 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002921/0.9125, allocations: 158.1 kB / 1.05 GB, free: 6.441 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002088/0.9146, allocations: 1.271 MB / 1.052 GB, free: 5.156 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.276e-05/0.9146, allocations: 15.98 kB / 1.052 GB, free: 5.141 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.644e-05/0.9146, allocations: 7.938 kB / 1.052 GB, free: 5.133 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001465/0.9161, allocations: 1.229 MB / 1.053 GB, free: 3.836 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00551/0.9216, allocations: 3.739 MB / 1.056 GB, free: 15.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.111e-05/0.9216, allocations: 8 kB / 1.056 GB, free: 15.92 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00109/0.9227, allocations: 256.5 kB / 1.057 GB, free: 15.67 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-05/0.9228, allocations: 23.94 kB / 1.057 GB, free: 15.64 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.268e-05/0.9229, allocations: 36 kB / 1.057 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.605e-05/0.9229, allocations: 19.92 kB / 1.057 GB, free: 15.59 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.908e-06/0.9229, allocations: 15.94 kB / 1.057 GB, free: 15.57 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01234/0.9352, allocations: 8.03 MB / 1.065 GB, free: 7.266 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006932/0.936, allocations: 351.1 kB / 1.065 GB, free: 6.902 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001656/0.9361, allocations: 43.92 kB / 1.065 GB, free: 6.859 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001115/0.9373, allocations: 92.44 kB / 1.065 GB, free: 6.77 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001484/0.9374, allocations: 96.31 kB / 1.065 GB, free: 6.676 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.266e-05/0.9375, allocations: 59.91 kB / 1.065 GB, free: 6.617 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001041/0.9386, allocations: 0.8406 MB / 1.066 GB, free: 5.777 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.71e-07/0.9386, allocations: 0 / 1.066 GB, free: 5.777 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001934/0.9405, allocations: 0.6289 MB / 1.067 GB, free: 5.148 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 44 * Number of states: 12 (vol.dynBal.U,vol.dynBal.mXi[1],vol1.dynBal.U,vol1.dynBal.mXi[1],vol2.dynBal.U,vol2.dynBal.mXi[1],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.0005116/0.941, allocations: 242.6 kB / 1.067 GB, free: 4.918 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001839/0.9429, allocations: 1.215 MB / 1.068 GB, free: 3.703 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.227e-06/0.9429, allocations: 0 / 1.068 GB, free: 3.703 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0007515/0.9436, allocations: 0.5487 MB / 1.069 GB, free: 3.156 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004099/0.9478, allocations: 0.8923 MB / 1.07 GB, free: 2.27 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005517/0.9533, allocations: 4.62 MB / 1.074 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009543/0.9543, allocations: 1.409 MB / 1.075 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001493/0.9558, allocations: 389.2 kB / 1.076 GB, free: 11.66 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004321/0.9562, allocations: 131.4 kB / 1.076 GB, free: 11.53 MB / 0.6511 GB Notification: Performance of SimCode: time 6.71e-07/0.9562, allocations: 4 kB / 1.076 GB, free: 11.52 MB / 0.6511 GB Notification: Performance of Templates: time 0.04825/1.004, allocations: 31.91 MB / 1.107 GB, free: 11.98 MB / 0.6823 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)