Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance") translateModel(IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.0008352/0.0008352, allocations: 88.17 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009648/0.0009648, allocations: 180.2 kB / 16.59 MB, free: 6.852 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.392/1.392, allocations: 223.3 MB / 240.6 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7127/0.7127, allocations: 115.5 MB / 407.2 MB, free: 2.855 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000311/0.0003112, allocations: 12 kB / 495.2 MB, free: 6.766 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1421/0.1425, allocations: 77.53 MB / 0.5593 GB, free: 9.449 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.4594/0.6019, allocations: 202.7 MB / 0.7573 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01545/0.6174, allocations: 11.38 MB / 0.7684 GB, free: 1.152 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001675/0.6191, allocations: 63.56 kB / 0.7685 GB, free: 1.09 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001578/0.6207, allocations: 0.586 MB / 0.769 GB, free: 0.5 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005378/0.6261, allocations: 2.126 MB / 0.7711 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002801/0.6289, allocations: 1.03 MB / 0.7721 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.005623/0.6346, allocations: 5.139 MB / 0.7771 GB, free: 8.191 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001788/0.6364, allocations: 1.316 MB / 0.7784 GB, free: 6.852 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003829/0.6402, allocations: 1.945 MB / 0.7803 GB, free: 4.898 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002054/0.6423, allocations: 1.436 MB / 0.7817 GB, free: 3.457 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002895/0.6426, allocations: 80 kB / 0.7818 GB, free: 3.379 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002898/0.6455, allocations: 1.064 MB / 0.7829 GB, free: 2.312 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0007113/0.6462, allocations: 0.5919 MB / 0.7834 GB, free: 1.719 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006032/0.6468, allocations: 384.7 kB / 0.7838 GB, free: 1.336 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002665/0.6495, allocations: 2.248 MB / 0.786 GB, free: 15.08 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.6495, allocations: 0 / 0.786 GB, free: 15.08 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.483e-06/0.6495, allocations: 3.938 kB / 0.786 GB, free: 15.08 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.125e-05/0.6496, allocations: 0 / 0.786 GB, free: 15.08 MB / 0.6075 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.003353/0.653, allocations: 1.914 MB / 0.7879 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.653, allocations: 11.97 kB / 0.7879 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002864/0.6559, allocations: 0.4972 MB / 0.7884 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0019/0.6578, allocations: 1.201 MB / 0.7895 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.78e-05/0.6579, allocations: 110.8 kB / 0.7896 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002017/0.6581, allocations: 147.9 kB / 0.7898 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002605/0.6607, allocations: 1.753 MB / 0.7915 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.317e-05/0.6608, allocations: 7.875 kB / 0.7915 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001342/0.6609, allocations: 60 kB / 0.7916 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.359e-05/0.661, allocations: 58.5 kB / 0.7916 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002132/0.6631, allocations: 1.388 MB / 0.793 GB, free: 7.703 MB / 0.6075 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.007852/0.671, allocations: 7.324 MB / 0.8001 GB, free: 0 / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001536/0.6725, allocations: 1.048 MB / 0.8011 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009258/0.6734, allocations: 0.6906 MB / 0.8018 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002097/0.6737, allocations: 114.2 kB / 0.8019 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.234e-05/0.6737, allocations: 51.5 kB / 0.802 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001015/0.6747, allocations: 306.5 kB / 0.8023 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=106): time 3.276e-06/0.6748, allocations: 0 / 0.8023 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of matching and sorting (n=112): time 0.007633/0.6824, allocations: 4.413 MB / 0.8066 GB, free: 9.23 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.627e-05/0.6825, allocations: 171.2 kB / 0.8067 GB, free: 9.027 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00148/0.684, allocations: 1.251 MB / 0.808 GB, free: 7.766 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 8.244e-05/0.6841, allocations: 49.7 kB / 0.808 GB, free: 7.711 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005135/0.6846, allocations: 0.6969 MB / 0.8087 GB, free: 7.008 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003287/0.6849, allocations: 402.2 kB / 0.8091 GB, free: 6.609 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.812e-05/0.685, allocations: 32.06 kB / 0.8091 GB, free: 6.578 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001408/0.6852, allocations: 361.9 kB / 0.8095 GB, free: 6.219 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000786/0.686, allocations: 0.5114 MB / 0.81 GB, free: 5.707 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001034/0.687, allocations: 0.8401 MB / 0.8108 GB, free: 4.746 MB / 0.6231 GB 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) 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: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.009094/0.6961, allocations: 3.493 MB / 0.8142 GB, free: 1.203 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.6961, allocations: 0 / 0.8142 GB, free: 1.203 MB / 0.6231 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002448/0.6986, allocations: 1.6 MB / 0.8157 GB, free: 15.6 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/0.6986, allocations: 8 kB / 0.8158 GB, free: 15.59 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/0.6986, allocations: 12.12 kB / 0.8158 GB, free: 15.58 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.521e-05/0.6987, allocations: 16 kB / 0.8158 GB, free: 15.56 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001103/0.6998, allocations: 287.5 kB / 0.8161 GB, free: 15.28 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.422e-05/0.6998, allocations: 23.92 kB / 0.8161 GB, free: 15.26 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0013/0.7011, allocations: 119.9 kB / 0.8162 GB, free: 15.14 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001008/0.7012, allocations: 56.06 kB / 0.8162 GB, free: 15.09 MB / 0.6387 GB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization sytem: vol2.dynBal.medium.p = vol2.dynBal.p_start vol1.dynBal.medium.p = vol1.dynBal.p_start vol.dynBal.medium.p = vol.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006924/0.7019, allocations: 430.8 kB / 0.8167 GB, free: 14.66 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002843/0.7022, allocations: 158.1 kB / 0.8168 GB, free: 14.5 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002106/0.7043, allocations: 1.279 MB / 0.8181 GB, free: 13.21 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-05/0.7043, allocations: 12 kB / 0.8181 GB, free: 13.2 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.7044, allocations: 0 / 0.8181 GB, free: 13.2 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001532/0.7059, allocations: 1.225 MB / 0.8193 GB, free: 11.9 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005615/0.7115, allocations: 3.738 MB / 0.8229 GB, free: 7.961 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.298e-05/0.7116, allocations: 12 kB / 0.8229 GB, free: 7.949 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001103/0.7127, allocations: 243.7 kB / 0.8232 GB, free: 7.711 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.02e-05/0.7127, allocations: 16 kB / 0.8232 GB, free: 7.695 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.63e-05/0.7128, allocations: 39.98 kB / 0.8232 GB, free: 7.656 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.393e-05/0.7128, allocations: 27.81 kB / 0.8232 GB, free: 7.629 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.035e-05/0.7128, allocations: 20.23 kB / 0.8233 GB, free: 7.609 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002704/0.7155, allocations: 2.098 MB / 0.8253 GB, free: 5.359 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006115/0.7162, allocations: 362.9 kB / 0.8257 GB, free: 4.984 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001955/0.7164, allocations: 40.86 kB / 0.8257 GB, free: 4.945 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001076/0.7175, allocations: 92.28 kB / 0.8258 GB, free: 4.855 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001323/0.7176, allocations: 96.34 kB / 0.8259 GB, free: 4.762 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.352e-05/0.7177, allocations: 51.98 kB / 0.8259 GB, free: 4.711 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001094/0.7188, allocations: 0.845 MB / 0.8267 GB, free: 3.867 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7188, allocations: 0 / 0.8267 GB, free: 3.867 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001341/0.7202, allocations: 440 kB / 0.8272 GB, free: 3.438 MB / 0.6387 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004622/0.7206, allocations: 229.6 kB / 0.8274 GB, free: 3.215 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001916/0.7226, allocations: 1.212 MB / 0.8286 GB, free: 2.008 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.7226, allocations: 0 / 0.8286 GB, free: 2.008 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0007662/0.7234, allocations: 0.5407 MB / 0.8291 GB, free: 1.465 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003796/0.7272, allocations: 0.8757 MB / 0.8299 GB, free: 0.6094 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2415/0.9687, allocations: 4.04 MB / 0.8339 GB, free: 229.7 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00107/0.9698, allocations: 1.38 MB / 0.8352 GB, free: 229 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001842/0.9716, allocations: 386.9 kB / 0.8356 GB, free: 228.9 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004511/0.9721, allocations: 124.7 kB / 0.8357 GB, free: 228.9 MB / 0.6387 GB Notification: Performance of SimCode: time 1.533e-06/0.9721, allocations: 2.438 kB / 0.8357 GB, free: 228.9 MB / 0.6387 GB Notification: Performance of Templates: time 0.04801/1.02, allocations: 27.76 MB / 0.8628 GB, free: 219.1 MB / 0.6387 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.makefile (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.sim & ./IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1)