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.001675/0.001675, allocations: 105.2 kB / 16.41 MB, free: 6.023 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.001913/0.001913, allocations: 189.7 kB / 17.34 MB, free: 5.609 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.376/1.376, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002119/0.002119, allocations: 294.8 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9247/0.9247, allocations: 169.3 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002007/0.002007, allocations: 91.86 kB / 0.6822 GB, free: 6.902 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4148/0.4168, allocations: 86.98 MB / 0.7671 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.6532/1.07, allocations: 222.6 MB / 0.9844 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0162/1.086, allocations: 12.13 MB / 0.9963 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002904/1.089, allocations: 72.84 kB / 0.9964 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002264/1.092, allocations: 0.8554 MB / 0.9972 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.006765/1.098, allocations: 2.865 MB / 1 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003479/1.102, allocations: 1.43 MB / 1.001 GB, free: 1.422 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.005356/1.107, allocations: 4.461 MB / 1.006 GB, free: 1.41 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002357/1.11, allocations: 1.723 MB / 1.007 GB, free: 1.223 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005553/1.115, allocations: 2.505 MB / 1.01 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003099/1.118, allocations: 1.562 MB / 1.011 GB, free: 1.152 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0004464/1.119, allocations: 179.6 kB / 1.012 GB, free: 1.152 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004271/1.123, allocations: 2.159 MB / 1.014 GB, free: 1.133 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0006764/1.124, allocations: 0.7019 MB / 1.014 GB, free: 1.059 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001401/1.125, allocations: 1.053 MB / 1.015 GB, free: 0.7695 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.004519/1.13, allocations: 3.337 MB / 1.019 GB, free: 364 kB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/1.13, allocations: 7.875 kB / 1.019 GB, free: 356 kB / 0.7169 GB Notification: Performance of FrontEnd: time 2.404e-06/1.13, allocations: 1.031 kB / 1.019 GB, free: 356 kB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.349e-05/1.13, allocations: 0 / 1.019 GB, free: 356 kB / 0.7169 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.003628/1.133, allocations: 2.283 MB / 1.021 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/1.133, allocations: 10.56 kB / 1.021 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003007/1.136, allocations: 0.494 MB / 1.021 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002104/1.139, allocations: 1.336 MB / 1.023 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.481e-05/1.139, allocations: 108.1 kB / 1.023 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001978/1.139, allocations: 157.6 kB / 1.023 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002574/1.141, allocations: 1.758 MB / 1.025 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.52e-05/1.141, allocations: 3.281 kB / 1.025 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001365/1.142, allocations: 65.25 kB / 1.025 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.184e-05/1.142, allocations: 55.95 kB / 1.025 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001905/1.144, allocations: 1.403 MB / 1.026 GB, free: 14.41 MB / 0.7325 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.008396/1.152, allocations: 7.282 MB / 1.033 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001432/1.153, allocations: 1.049 MB / 1.034 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008328/1.154, allocations: 0.6967 MB / 1.035 GB, free: 10.29 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002061/1.154, allocations: 113 kB / 1.035 GB, free: 10.19 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.091e-05/1.155, allocations: 53.92 kB / 1.035 GB, free: 10.15 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001203/1.156, allocations: 302.5 kB / 1.035 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=106): time 3.927e-06/1.156, allocations: 3.938 kB / 1.035 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of matching and sorting (n=112): time 0.007963/1.164, allocations: 4.439 MB / 1.04 GB, free: 8.125 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.35e-05/1.164, allocations: 170.1 kB / 1.04 GB, free: 7.93 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001434/1.165, allocations: 1.265 MB / 1.041 GB, free: 7.445 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001165/1.165, allocations: 53.7 kB / 1.041 GB, free: 7.395 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000503/1.166, allocations: 0.6946 MB / 1.042 GB, free: 6.852 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003642/1.166, allocations: 400.2 kB / 1.042 GB, free: 6.547 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000353/1.167, allocations: 259.6 kB / 1.042 GB, free: 6.43 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001343/1.167, allocations: 361.4 kB / 1.043 GB, free: 6.098 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007644/1.168, allocations: 0.5305 MB / 1.043 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009787/1.169, allocations: 0.8554 MB / 1.044 GB, free: 5.34 MB / 0.7325 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.01127/1.18, allocations: 4.802 MB / 1.049 GB, free: 2.797 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.615e-06/1.18, allocations: 2.5 kB / 1.049 GB, free: 2.797 MB / 0.7325 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002523/1.182, allocations: 1.618 MB / 1.05 GB, free: 2.023 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.37e-05/1.182, allocations: 12.98 kB / 1.05 GB, free: 2.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.447e-05/1.182, allocations: 8 kB / 1.05 GB, free: 2.02 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.62e-05/1.182, allocations: 13.81 kB / 1.051 GB, free: 2.02 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001114/1.184, allocations: 289.7 kB / 1.051 GB, free: 1.973 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.275e-05/1.184, allocations: 22.08 kB / 1.051 GB, free: 1.969 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001465/1.185, allocations: 63.75 kB / 1.051 GB, free: 1.93 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001011/1.185, allocations: 54.61 kB / 1.051 GB, free: 1.918 MB / 0.7325 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.0007991/1.186, allocations: 434 kB / 1.051 GB, free: 1.59 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000376/1.186, allocations: 158.1 kB / 1.051 GB, free: 1.434 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002096/1.189, allocations: 1.289 MB / 1.053 GB, free: 144 kB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.097e-05/1.189, allocations: 12 kB / 1.053 GB, free: 132 kB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/1.189, allocations: 0 / 1.053 GB, free: 132 kB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001489/1.19, allocations: 1.251 MB / 1.054 GB, free: 14.81 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005698/1.196, allocations: 3.769 MB / 1.058 GB, free: 10.94 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.145e-05/1.196, allocations: 8 kB / 1.058 GB, free: 10.93 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001116/1.197, allocations: 247.1 kB / 1.058 GB, free: 10.71 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.735e-05/1.197, allocations: 16 kB / 1.058 GB, free: 10.69 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.912e-05/1.197, allocations: 36 kB / 1.058 GB, free: 10.66 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.918e-05/1.197, allocations: 25.61 kB / 1.058 GB, free: 10.64 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.125e-06/1.197, allocations: 18.53 kB / 1.058 GB, free: 10.62 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002723/1.2, allocations: 2.127 MB / 1.06 GB, free: 8.352 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006756/1.2, allocations: 359 kB / 1.06 GB, free: 7.98 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000214/1.201, allocations: 32 kB / 1.06 GB, free: 7.949 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001113/1.202, allocations: 63.62 kB / 1.06 GB, free: 7.891 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001398/1.202, allocations: 96.03 kB / 1.061 GB, free: 7.805 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.656e-05/1.202, allocations: 51.98 kB / 1.061 GB, free: 7.754 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001073/1.203, allocations: 0.8555 MB / 1.061 GB, free: 6.902 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.4e-07/1.203, allocations: 0 / 1.061 GB, free: 6.902 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.00135/1.205, allocations: 440 kB / 1.062 GB, free: 6.473 MB / 0.7481 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.0004721/1.205, allocations: 234.2 kB / 1.062 GB, free: 6.266 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001892/1.207, allocations: 1.248 MB / 1.063 GB, free: 5.062 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/1.207, allocations: 0 / 1.063 GB, free: 5.062 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0007346/1.208, allocations: 0.5511 MB / 1.064 GB, free: 4.555 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004024/1.212, allocations: 0.9298 MB / 1.065 GB, free: 3.645 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00492/1.217, allocations: 3.473 MB / 1.068 GB, free: 36 kB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009034/1.218, allocations: 1.368 MB / 1.07 GB, free: 14.64 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006015/1.218, allocations: 139.4 kB / 1.07 GB, free: 14.5 MB / 0.7637 GB Notification: Performance of SimCode: time 1.853e-06/1.218, allocations: 112 / 1.07 GB, free: 14.5 MB / 0.7637 GB Notification: Performance of Templates: time 0.03375/1.252, allocations: 25.41 MB / 1.094 GB, free: 5.355 MB / 0.7794 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)