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.001661/0.001661, allocations: 113 kB / 16.41 MB, free: 6.043 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.001837/0.001837, allocations: 188.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.428/1.428, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003314/0.003314, allocations: 286.7 kB / 291.5 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 1.002/1.002, allocations: 169.3 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002862/0.002862, allocations: 87.86 kB / 0.6822 GB, free: 6.875 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4542/0.4571, allocations: 86.97 MB / 0.7671 GB, free: 3.875 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.658/1.115, allocations: 223.1 MB / 0.985 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01435/1.129, allocations: 12.16 MB / 0.9969 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002238/1.132, allocations: 75.78 kB / 0.997 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001854/1.134, allocations: 0.8913 MB / 0.9978 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.006084/1.14, allocations: 2.967 MB / 1.001 GB, free: 1.43 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002998/1.143, allocations: 1.445 MB / 1.002 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004766/1.147, allocations: 4.461 MB / 1.006 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002047/1.149, allocations: 1.463 MB / 1.008 GB, free: 1.258 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005401/1.155, allocations: 2.553 MB / 1.01 GB, free: 1.227 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002928/1.158, allocations: 1.563 MB / 1.012 GB, free: 1.18 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0003428/1.158, allocations: 182.9 kB / 1.012 GB, free: 1.18 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003968/1.162, allocations: 2.175 MB / 1.014 GB, free: 1.16 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0006364/1.163, allocations: 0.7153 MB / 1.015 GB, free: 1.066 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.00127/1.164, allocations: 1.057 MB / 1.016 GB, free: 0.7773 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.004662/1.169, allocations: 3.346 MB / 1.019 GB, free: 356 kB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/1.169, allocations: 7.641 kB / 1.019 GB, free: 352 kB / 0.7169 GB Notification: Performance of FrontEnd: time 1.292e-06/1.169, allocations: 6.031 kB / 1.019 GB, free: 348 kB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.002e-05/1.169, allocations: 0 / 1.019 GB, free: 348 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.004143/1.173, allocations: 2.336 MB / 1.022 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/1.173, allocations: 14.47 kB / 1.022 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003095/1.176, allocations: 0.5047 MB / 1.022 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002411/1.178, allocations: 1.346 MB / 1.023 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.551e-05/1.178, allocations: 106.2 kB / 1.023 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002188/1.179, allocations: 157.5 kB / 1.024 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002493/1.181, allocations: 1.765 MB / 1.025 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.401e-05/1.181, allocations: 7.406 kB / 1.025 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001335/1.181, allocations: 59.12 kB / 1.025 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.414e-05/1.181, allocations: 57 kB / 1.025 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001937/1.183, allocations: 1.396 MB / 1.027 GB, free: 14.31 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.008963/1.192, allocations: 7.31 MB / 1.034 GB, free: 10.35 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001379/1.194, allocations: 0.9987 MB / 1.035 GB, free: 10.22 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007987/1.194, allocations: 0.66 MB / 1.036 GB, free: 10.18 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002139/1.195, allocations: 110.5 kB / 1.036 GB, free: 10.08 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.103e-05/1.195, allocations: 53.69 kB / 1.036 GB, free: 10.04 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001163/1.196, allocations: 311.1 kB / 1.036 GB, free: 9.98 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=106): time 3.456e-06/1.196, allocations: 0 / 1.036 GB, free: 9.98 MB / 0.7325 GB Notification: Performance of matching and sorting (n=112): time 0.008431/1.204, allocations: 4.546 MB / 1.04 GB, free: 7.789 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001134/1.204, allocations: 167.4 kB / 1.041 GB, free: 7.598 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001637/1.206, allocations: 1.265 MB / 1.042 GB, free: 7.113 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001423/1.206, allocations: 53.2 kB / 1.042 GB, free: 7.062 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005954/1.207, allocations: 0.7108 MB / 1.043 GB, free: 6.508 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004168/1.207, allocations: 418.1 kB / 1.043 GB, free: 6.188 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004062/1.208, allocations: 267 kB / 1.043 GB, free: 6.062 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001781/1.208, allocations: 360.2 kB / 1.044 GB, free: 5.734 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007935/1.209, allocations: 0.5288 MB / 1.044 GB, free: 5.539 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001079/1.21, allocations: 0.8554 MB / 1.045 GB, free: 4.984 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.0115/1.221, allocations: 4.8 MB / 1.05 GB, free: 2.352 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.252e-06/1.221, allocations: 4.812 kB / 1.05 GB, free: 2.352 MB / 0.7325 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002593/1.224, allocations: 1.619 MB / 1.051 GB, free: 1.574 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/1.224, allocations: 8.469 kB / 1.051 GB, free: 1.574 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.705e-05/1.224, allocations: 18.25 kB / 1.051 GB, free: 1.566 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.624e-05/1.224, allocations: 14.81 kB / 1.051 GB, free: 1.566 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001127/1.225, allocations: 285 kB / 1.052 GB, free: 1.523 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.334e-05/1.225, allocations: 22.23 kB / 1.052 GB, free: 1.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0014/1.226, allocations: 53.38 kB / 1.052 GB, free: 1.484 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001026/1.226, allocations: 60.58 kB / 1.052 GB, free: 1.469 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.0007635/1.227, allocations: 435.5 kB / 1.052 GB, free: 1.176 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003337/1.228, allocations: 170.6 kB / 1.052 GB, free: 1.086 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002323/1.23, allocations: 1.289 MB / 1.054 GB, free: 80 kB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.305e-05/1.23, allocations: 12 kB / 1.054 GB, free: 68 kB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/1.23, allocations: 0 / 1.054 GB, free: 68 kB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001765/1.232, allocations: 1.248 MB / 1.055 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006496/1.238, allocations: 3.765 MB / 1.058 GB, free: 10.88 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.41e-05/1.238, allocations: 12 kB / 1.058 GB, free: 10.87 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001205/1.239, allocations: 251.2 kB / 1.059 GB, free: 10.64 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.809e-05/1.239, allocations: 16 kB / 1.059 GB, free: 10.62 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.643e-05/1.239, allocations: 36 kB / 1.059 GB, free: 10.59 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.957e-05/1.24, allocations: 25.08 kB / 1.059 GB, free: 10.57 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.158e-05/1.24, allocations: 17.06 kB / 1.059 GB, free: 10.56 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003099/1.243, allocations: 2.13 MB / 1.061 GB, free: 8.289 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007771/1.243, allocations: 367.9 kB / 1.061 GB, free: 7.91 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002017/1.244, allocations: 36 kB / 1.061 GB, free: 7.875 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001108/1.245, allocations: 54.31 kB / 1.061 GB, free: 7.824 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001572/1.245, allocations: 100.1 kB / 1.061 GB, free: 7.734 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.354e-05/1.245, allocations: 59.97 kB / 1.061 GB, free: 7.676 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001227/1.246, allocations: 0.849 MB / 1.062 GB, free: 6.828 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.5e-07/1.246, allocations: 0 / 1.062 GB, free: 6.828 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001468/1.248, allocations: 435.9 kB / 1.063 GB, free: 6.402 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.0005308/1.248, allocations: 251.3 kB / 1.063 GB, free: 6.184 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002065/1.25, allocations: 1.18 MB / 1.064 GB, free: 5.051 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 6.381e-06/1.25, allocations: 4 kB / 1.064 GB, free: 5.047 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0008198/1.251, allocations: 0.5228 MB / 1.065 GB, free: 4.566 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004127/1.255, allocations: 0.9305 MB / 1.065 GB, free: 3.656 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005526/1.261, allocations: 3.451 MB / 1.069 GB, free: 72 kB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001198/1.262, allocations: 1.376 MB / 1.07 GB, free: 14.66 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001469/1.263, allocations: 385.3 kB / 1.071 GB, free: 14.28 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004423/1.264, allocations: 127.4 kB / 1.071 GB, free: 14.16 MB / 0.7637 GB Notification: Performance of SimCode: time 9.92e-07/1.264, allocations: 112 / 1.071 GB, free: 14.16 MB / 0.7637 GB Notification: Performance of Templates: time 0.05533/1.319, allocations: 30.82 MB / 1.101 GB, free: 15.89 MB / 0.795 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)