Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance") translateModel(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.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.001009/0.001009, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.00107/0.00107, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.312/1.312, allocations: 223.2 MB / 239.9 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.008/1.008, allocations: 143.3 MB / 434.3 MB, free: 13.71 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003247/0.0003248, allocations: 8 kB / 0.5158 GB, free: 11.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1426, allocations: 83.41 MB / 0.5973 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.4214/0.564, allocations: 183.4 MB / 0.7764 GB, free: 4.672 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01584/0.5799, allocations: 11.25 MB / 0.7873 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001683/0.5816, allocations: 59.56 kB / 0.7874 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002604/0.5843, allocations: 0.902 MB / 0.7883 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00715/0.5914, allocations: 2.634 MB / 0.7909 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00407/0.5955, allocations: 1.578 MB / 0.7924 GB, free: 4.25 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003951/0.5995, allocations: 2.574 MB / 0.7949 GB, free: 1.672 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001673/0.6012, allocations: 1.315 MB / 0.7962 GB, free: 340 kB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003103/0.6043, allocations: 1.655 MB / 0.7978 GB, free: 14.67 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001425/0.6057, allocations: 1.016 MB / 0.7988 GB, free: 13.65 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002069/0.6059, allocations: 80 kB / 0.7989 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002365/0.6083, allocations: 0.9516 MB / 0.7998 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0005661/0.6089, allocations: 0.5531 MB / 0.8004 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0004224/0.6093, allocations: 376.8 kB / 0.8007 GB, free: 11.69 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002404/0.6118, allocations: 2.256 MB / 0.8029 GB, free: 9.43 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.6118, allocations: 4 kB / 0.8029 GB, free: 9.426 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.903e-06/0.6118, allocations: 0 / 0.8029 GB, free: 9.426 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 4.623e-05/0.6118, allocations: 0 / 0.8029 GB, free: 9.426 MB / 0.6231 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.003483/0.6153, allocations: 1.893 MB / 0.8048 GB, free: 7.48 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.6154, allocations: 8.031 kB / 0.8048 GB, free: 7.473 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00304/0.6184, allocations: 0.4972 MB / 0.8053 GB, free: 6.973 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002243/0.6207, allocations: 1.201 MB / 0.8064 GB, free: 5.715 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.482e-05/0.6208, allocations: 106.8 kB / 0.8065 GB, free: 5.609 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000226/0.621, allocations: 156 kB / 0.8067 GB, free: 5.457 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002575/0.6236, allocations: 1.738 MB / 0.8084 GB, free: 3.609 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.322e-05/0.6236, allocations: 3.938 kB / 0.8084 GB, free: 3.605 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001366/0.6238, allocations: 60 kB / 0.8084 GB, free: 3.547 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.126e-05/0.6238, allocations: 54.55 kB / 0.8085 GB, free: 3.492 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002167/0.626, allocations: 1.388 MB / 0.8098 GB, free: 2.098 MB / 0.6231 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.008522/0.6345, allocations: 7.33 MB / 0.817 GB, free: 10.39 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001561/0.6361, allocations: 1.043 MB / 0.818 GB, free: 9.309 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 8.252e-05/0.6362, allocations: 25.14 kB / 0.818 GB, free: 9.285 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.542e-05/0.6363, allocations: 59.48 kB / 0.8181 GB, free: 9.219 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001117/0.6374, allocations: 302.6 kB / 0.8184 GB, free: 8.922 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=106): time 3.547e-06/0.6374, allocations: 0 / 0.8184 GB, free: 8.922 MB / 0.6387 GB Notification: Performance of matching and sorting (n=112): time 0.007978/0.6454, allocations: 4.42 MB / 0.8227 GB, free: 4.422 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.115e-05/0.6455, allocations: 167.2 kB / 0.8229 GB, free: 4.223 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001525/0.647, allocations: 1.247 MB / 0.8241 GB, free: 2.965 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001123/0.6472, allocations: 53.83 kB / 0.8241 GB, free: 2.906 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005079/0.6477, allocations: 0.7008 MB / 0.8248 GB, free: 2.199 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003429/0.648, allocations: 402.1 kB / 0.8252 GB, free: 1.801 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.671e-05/0.6481, allocations: 32 kB / 0.8252 GB, free: 1.77 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.6483, allocations: 353.9 kB / 0.8256 GB, free: 1.418 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008179/0.6491, allocations: 0.5075 MB / 0.8261 GB, free: 0.9102 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001034/0.6501, allocations: 0.8362 MB / 0.8269 GB, free: 15.95 MB / 0.6544 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.00946/0.6596, allocations: 3.49 MB / 0.8303 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.6596, allocations: 3.938 kB / 0.8303 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002427/0.6621, allocations: 1.593 MB / 0.8319 GB, free: 10.81 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.6621, allocations: 8 kB / 0.8319 GB, free: 10.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.501e-05/0.6621, allocations: 8.875 kB / 0.8319 GB, free: 10.8 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.671e-05/0.6621, allocations: 16 kB / 0.8319 GB, free: 10.78 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001121/0.6633, allocations: 295.5 kB / 0.8322 GB, free: 10.49 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.774e-05/0.6633, allocations: 23.92 kB / 0.8322 GB, free: 10.47 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001472/0.6648, allocations: 118.2 kB / 0.8323 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001126/0.6649, allocations: 59.97 kB / 0.8324 GB, free: 10.3 MB / 0.6544 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.0007303/0.6657, allocations: 425.2 kB / 0.8328 GB, free: 9.875 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003053/0.666, allocations: 162 kB / 0.8329 GB, free: 9.715 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002023/0.668, allocations: 1.275 MB / 0.8342 GB, free: 8.426 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-05/0.668, allocations: 19.95 kB / 0.8342 GB, free: 8.406 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.668, allocations: 0 / 0.8342 GB, free: 8.406 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001527/0.6696, allocations: 1.225 MB / 0.8354 GB, free: 7.109 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005695/0.6753, allocations: 3.738 MB / 0.839 GB, free: 3.172 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.449e-05/0.6753, allocations: 12 kB / 0.839 GB, free: 3.16 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001124/0.6764, allocations: 244.5 kB / 0.8393 GB, free: 2.922 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.977e-05/0.6765, allocations: 23.95 kB / 0.8393 GB, free: 2.898 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.886e-05/0.6766, allocations: 39.98 kB / 0.8393 GB, free: 2.859 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.597e-05/0.6766, allocations: 19.94 kB / 0.8394 GB, free: 2.84 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.056e-05/0.6766, allocations: 11.94 kB / 0.8394 GB, free: 2.828 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003087/0.6797, allocations: 2.777 MB / 0.8421 GB, free: 15.47 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007283/0.6804, allocations: 355 kB / 0.8424 GB, free: 15.11 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00021/0.6807, allocations: 35.98 kB / 0.8425 GB, free: 15.07 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001186/0.6819, allocations: 98.5 kB / 0.8425 GB, free: 14.98 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001224/0.682, allocations: 104.3 kB / 0.8426 GB, free: 14.88 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.257e-05/0.6821, allocations: 55.97 kB / 0.8427 GB, free: 14.82 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001099/0.6832, allocations: 0.8373 MB / 0.8435 GB, free: 13.98 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.1e-07/0.6832, allocations: 0 / 0.8435 GB, free: 13.98 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001311/0.6845, allocations: 432 kB / 0.8439 GB, free: 13.56 MB / 0.67 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.0004783/0.685, allocations: 252.3 kB / 0.8442 GB, free: 13.32 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001879/0.6869, allocations: 1.203 MB / 0.8453 GB, free: 12.12 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/0.6869, allocations: 3.938 kB / 0.8453 GB, free: 12.12 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0007427/0.6877, allocations: 0.5368 MB / 0.8459 GB, free: 11.58 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003767/0.6914, allocations: 0.8705 MB / 0.8467 GB, free: 10.73 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00509/0.6965, allocations: 4.033 MB / 0.8507 GB, free: 6.539 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009542/0.6975, allocations: 1.407 MB / 0.852 GB, free: 5.105 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001395/0.6989, allocations: 389.3 kB / 0.8524 GB, free: 4.719 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003581/0.6993, allocations: 127.4 kB / 0.8525 GB, free: 4.594 MB / 0.67 GB Notification: Performance of SimCode: time 5.81e-07/0.6993, allocations: 0 / 0.8525 GB, free: 4.594 MB / 0.67 GB Notification: Performance of Templates: time 0.2784/0.9777, allocations: 27.77 MB / 0.8796 GB, free: 203.8 MB / 0.67 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.makefile Environment - environmentSimulation: (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1) Environment - environmentSimulation: