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.001079/0.00108, allocations: 105.7 kB / 15.99 MB, free: 6.348 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.001124/0.001124, allocations: 196.6 kB / 16.91 MB, free: 6.191 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.393/1.393, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8041/0.8041, allocations: 122.9 MB / 413.6 MB, free: 15.99 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001218, allocations: 67.84 kB / 0.4906 GB, free: 7.781 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4373/0.4386, allocations: 77.91 MB / 0.5667 GB, free: 32.7 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.6962/1.135, allocations: 219.8 MB / 0.7813 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02091/1.156, allocations: 12.06 MB / 0.7931 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0042/1.16, allocations: 66.28 kB / 0.7932 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0033/1.163, allocations: 0.7336 MB / 0.7939 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.009561/1.173, allocations: 2.685 MB / 0.7965 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0046/1.178, allocations: 1.303 MB / 0.7978 GB, free: 1.371 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007132/1.185, allocations: 4.452 MB / 0.8021 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002811/1.188, allocations: 1.687 MB / 0.8038 GB, free: 1.184 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006727/1.194, allocations: 2.446 MB / 0.8062 GB, free: 1.152 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004161/1.199, allocations: 1.65 MB / 0.8078 GB, free: 1.004 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0006286/1.199, allocations: 178.1 kB / 0.808 GB, free: 1.004 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005177/1.204, allocations: 2.271 MB / 0.8102 GB, free: 0.9844 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.00108/1.205, allocations: 0.7106 MB / 0.8109 GB, free: 0.9062 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002049/1.208, allocations: 1.045 MB / 0.8119 GB, free: 0.6211 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.007287/1.215, allocations: 3.425 MB / 0.8152 GB, free: 224 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/1.215, allocations: 0 / 0.8152 GB, free: 224 kB / 0.5762 GB Notification: Performance of FrontEnd: time 2.816e-06/1.215, allocations: 0.7812 kB / 0.8152 GB, free: 224 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.214e-05/1.215, allocations: 2.531 kB / 0.8152 GB, free: 224 kB / 0.5762 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.005301/1.22, allocations: 2.283 MB / 0.8175 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.261e-05/1.22, allocations: 10.75 kB / 0.8175 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003395/1.224, allocations: 0.4915 MB / 0.818 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002703/1.227, allocations: 1.256 MB / 0.8192 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.314e-05/1.227, allocations: 114.4 kB / 0.8193 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002509/1.227, allocations: 151.2 kB / 0.8194 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00331/1.23, allocations: 1.759 MB / 0.8212 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.287e-05/1.23, allocations: 8 kB / 0.8212 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001559/1.23, allocations: 62 kB / 0.8212 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-05/1.231, allocations: 50.7 kB / 0.8213 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00238/1.233, allocations: 1.399 MB / 0.8226 GB, free: 14.28 MB / 0.5919 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.01086/1.244, allocations: 7.304 MB / 0.8298 GB, free: 9.09 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001669/1.245, allocations: 1.056 MB / 0.8308 GB, free: 8.484 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009401/1.246, allocations: 0.6931 MB / 0.8315 GB, free: 8.105 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000321/1.247, allocations: 114.6 kB / 0.8316 GB, free: 8.004 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.608e-05/1.247, allocations: 59.48 kB / 0.8316 GB, free: 7.945 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001653/1.248, allocations: 301.6 kB / 0.8319 GB, free: 7.77 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=106): time 5.62e-06/1.249, allocations: 2.625 kB / 0.8319 GB, free: 7.77 MB / 0.5919 GB Notification: Performance of matching and sorting (n=112): time 0.009359/1.258, allocations: 4.443 MB / 0.8363 GB, free: 5.016 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001065/1.258, allocations: 175.4 kB / 0.8364 GB, free: 4.82 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001846/1.26, allocations: 1.257 MB / 0.8377 GB, free: 4.141 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001543/1.26, allocations: 57.92 kB / 0.8377 GB, free: 4.086 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005454/1.261, allocations: 0.694 MB / 0.8384 GB, free: 3.477 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004119/1.261, allocations: 407.3 kB / 0.8388 GB, free: 3.133 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003906/1.261, allocations: 264.1 kB / 0.839 GB, free: 2.984 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001583/1.262, allocations: 356.6 kB / 0.8394 GB, free: 2.645 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008256/1.262, allocations: 0.5233 MB / 0.8399 GB, free: 2.375 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001275/1.264, allocations: 0.864 MB / 0.8407 GB, free: 1.391 MB / 0.5919 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.01211/1.276, allocations: 4.81 MB / 0.8454 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.514e-06/1.276, allocations: 0 / 0.8454 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002828/1.279, allocations: 1.613 MB / 0.847 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.604e-05/1.279, allocations: 11.98 kB / 0.847 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.406e-05/1.279, allocations: 8 kB / 0.847 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.438e-05/1.279, allocations: 16 kB / 0.847 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001208/1.28, allocations: 288.1 kB / 0.8473 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.672e-05/1.28, allocations: 22.61 kB / 0.8473 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00178/1.282, allocations: 113.9 kB / 0.8474 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001214/1.282, allocations: 63.97 kB / 0.8475 GB, free: 10.39 MB / 0.6075 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.0009373/1.283, allocations: 425.4 kB / 0.8479 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004015/1.283, allocations: 162 kB / 0.8481 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002258/1.286, allocations: 1.297 MB / 0.8493 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-05/1.286, allocations: 19.94 kB / 0.8494 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/1.286, allocations: 0 / 0.8494 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001571/1.287, allocations: 1.244 MB / 0.8506 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006457/1.294, allocations: 3.761 MB / 0.8542 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.54e-05/1.294, allocations: 12.97 kB / 0.8543 GB, free: 3.316 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001159/1.295, allocations: 247.1 kB / 0.8545 GB, free: 3.09 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.775e-05/1.295, allocations: 16 kB / 0.8545 GB, free: 3.074 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.521e-05/1.295, allocations: 43.92 kB / 0.8545 GB, free: 3.031 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.829e-05/1.295, allocations: 21.16 kB / 0.8546 GB, free: 3.016 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.178e-05/1.295, allocations: 16.97 kB / 0.8546 GB, free: 3.004 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003068/1.298, allocations: 2.122 MB / 0.8567 GB, free: 0.7344 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008698/1.299, allocations: 361.4 kB / 0.857 GB, free: 372 kB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002477/1.299, allocations: 39.98 kB / 0.857 GB, free: 332 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001291/1.301, allocations: 88.39 kB / 0.8571 GB, free: 244 kB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001578/1.301, allocations: 100.1 kB / 0.8572 GB, free: 152 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.244e-05/1.301, allocations: 59.98 kB / 0.8573 GB, free: 92 kB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001239/1.302, allocations: 0.849 MB / 0.8581 GB, free: 15.24 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.3e-07/1.302, allocations: 0 / 0.8581 GB, free: 15.24 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001557/1.304, allocations: 440 kB / 0.8585 GB, free: 14.81 MB / 0.6231 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.0005374/1.304, allocations: 231.8 kB / 0.8587 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002699/1.307, allocations: 1.431 MB / 0.8601 GB, free: 13.24 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 9.899e-06/1.307, allocations: 8.188 kB / 0.8602 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0008249/1.308, allocations: 0.5444 MB / 0.8607 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004556/1.312, allocations: 0.9343 MB / 0.8616 GB, free: 11.84 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006103/1.318, allocations: 4.024 MB / 0.8655 GB, free: 7.695 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001057/1.32, allocations: 1.372 MB / 0.8669 GB, free: 6.289 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001791/1.321, allocations: 389.3 kB / 0.8672 GB, free: 5.902 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004415/1.322, allocations: 131.4 kB / 0.8674 GB, free: 5.773 MB / 0.6231 GB Notification: Performance of SimCode: time 1.263e-06/1.322, allocations: 0 / 0.8674 GB, free: 5.773 MB / 0.6231 GB Notification: Performance of Templates: time 0.05288/1.375, allocations: 30.22 MB / 0.8969 GB, free: 8.012 MB / 0.6544 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)