Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance") translateModel(IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.001041/0.001041, allocations: 86.41 kB / 15.06 MB, free: 1.09 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.001302/0.001302, allocations: 168.7 kB / 15.95 MB, free: 204 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.325/1.325, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7404/0.7404, allocations: 132.4 MB / 423.4 MB, free: 2.074 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002938/0.0002938, allocations: 9.875 kB / 0.5034 GB, free: 4.25 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3445/0.3448, allocations: 81.58 MB / 0.5831 GB, free: 4.227 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.1948/0.5397, allocations: 202.7 MB / 0.7811 GB, free: 5.484 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01473/0.5544, allocations: 11.36 MB / 0.7922 GB, free: 10.09 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001568/0.556, allocations: 67.5 kB / 0.7922 GB, free: 10.03 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001517/0.5576, allocations: 0.586 MB / 0.7928 GB, free: 9.434 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.005114/0.5627, allocations: 2.107 MB / 0.7949 GB, free: 7.316 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002717/0.5654, allocations: 1.029 MB / 0.7959 GB, free: 6.305 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.005433/0.5709, allocations: 5.128 MB / 0.8009 GB, free: 1.164 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001756/0.5726, allocations: 1.317 MB / 0.8022 GB, free: 15.82 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003735/0.5764, allocations: 1.937 MB / 0.804 GB, free: 13.88 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002015/0.5784, allocations: 1.436 MB / 0.8054 GB, free: 12.44 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001917/0.5786, allocations: 80 kB / 0.8055 GB, free: 12.36 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002763/0.5814, allocations: 1.056 MB / 0.8066 GB, free: 11.3 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0005933/0.582, allocations: 0.588 MB / 0.8071 GB, free: 10.71 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0005084/0.5825, allocations: 380.8 kB / 0.8075 GB, free: 10.33 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002337/0.5849, allocations: 2.252 MB / 0.8097 GB, free: 8.074 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.5849, allocations: 7.938 kB / 0.8097 GB, free: 8.066 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.523e-06/0.5849, allocations: 0 / 0.8097 GB, free: 8.066 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.121e-05/0.5849, allocations: 0 / 0.8097 GB, free: 8.066 MB / 0.6387 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.002956/0.5879, allocations: 1.91 MB / 0.8116 GB, free: 6.102 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.5879, allocations: 8.031 kB / 0.8116 GB, free: 6.094 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002907/0.5908, allocations: 0.4972 MB / 0.8121 GB, free: 5.594 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001889/0.5927, allocations: 1.209 MB / 0.8132 GB, free: 4.328 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.965e-05/0.5928, allocations: 110.7 kB / 0.8133 GB, free: 4.219 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002018/0.593, allocations: 152 kB / 0.8135 GB, free: 4.07 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002587/0.5956, allocations: 1.737 MB / 0.8152 GB, free: 2.223 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.572e-05/0.5957, allocations: 11.84 kB / 0.8152 GB, free: 2.211 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001303/0.5958, allocations: 60 kB / 0.8153 GB, free: 2.152 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-05/0.5959, allocations: 54.55 kB / 0.8153 GB, free: 2.098 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002097/0.598, allocations: 1.384 MB / 0.8167 GB, free: 0.707 MB / 0.6387 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.2577/0.8557, allocations: 7.288 MB / 0.8238 GB, free: 215.4 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001432/0.8571, allocations: 1.015 MB / 0.8248 GB, free: 214.9 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009501/0.8581, allocations: 0.6881 MB / 0.8254 GB, free: 214.7 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002006/0.8583, allocations: 113.7 kB / 0.8255 GB, free: 214.6 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.654e-05/0.8583, allocations: 55.69 kB / 0.8256 GB, free: 214.5 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001149/0.8595, allocations: 308.8 kB / 0.8259 GB, free: 214.4 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=106): time 3.236e-06/0.8595, allocations: 0 / 0.8259 GB, free: 214.4 MB / 0.6387 GB Notification: Performance of matching and sorting (n=112): time 0.007549/0.8671, allocations: 4.282 MB / 0.8301 GB, free: 212 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.907e-05/0.8671, allocations: 171 kB / 0.8302 GB, free: 211.8 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001547/0.8687, allocations: 1.252 MB / 0.8315 GB, free: 211.4 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 9.926e-05/0.8688, allocations: 53.61 kB / 0.8315 GB, free: 211.3 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004185/0.8692, allocations: 0.6975 MB / 0.8322 GB, free: 210.8 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002959/0.8695, allocations: 404.7 kB / 0.8326 GB, free: 210.4 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.473e-05/0.8696, allocations: 30.31 kB / 0.8326 GB, free: 210.4 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 8.171e-05/0.8697, allocations: 354.9 kB / 0.8329 GB, free: 210.1 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007945/0.8705, allocations: 0.5096 MB / 0.8334 GB, free: 209.9 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009411/0.8715, allocations: 0.8382 MB / 0.8343 GB, free: 209.4 MB / 0.6387 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.008639/0.8801, allocations: 3.455 MB / 0.8376 GB, free: 208.1 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-06/0.8801, allocations: 2.688 kB / 0.8376 GB, free: 208.1 MB / 0.6387 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002432/0.8826, allocations: 1.591 MB / 0.8392 GB, free: 207.3 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/0.8826, allocations: 13.09 kB / 0.8392 GB, free: 207.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.366e-05/0.8826, allocations: 7.656 kB / 0.8392 GB, free: 207.3 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.865e-05/0.8826, allocations: 17.05 kB / 0.8392 GB, free: 207.3 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001119/0.8838, allocations: 290.2 kB / 0.8395 GB, free: 207.2 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.459e-05/0.8838, allocations: 23.36 kB / 0.8395 GB, free: 207.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001383/0.8852, allocations: 91.56 kB / 0.8396 GB, free: 207.2 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001048/0.8853, allocations: 60.47 kB / 0.8397 GB, free: 207.2 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.0006709/0.886, allocations: 433.8 kB / 0.8401 GB, free: 206.8 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002932/0.8863, allocations: 170.2 kB / 0.8402 GB, free: 206.8 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001968/0.8883, allocations: 1.263 MB / 0.8415 GB, free: 206 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-05/0.8883, allocations: 13.69 kB / 0.8415 GB, free: 206 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.826e-06/0.8883, allocations: 4.406 kB / 0.8415 GB, free: 206 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001354/0.8897, allocations: 1.224 MB / 0.8427 GB, free: 205.2 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005089/0.8948, allocations: 3.741 MB / 0.8463 GB, free: 202.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-05/0.8948, allocations: 10.03 kB / 0.8464 GB, free: 202.6 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001121/0.8959, allocations: 254.5 kB / 0.8466 GB, free: 202.5 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.985e-05/0.896, allocations: 18.97 kB / 0.8466 GB, free: 202.5 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.467e-05/0.896, allocations: 35.31 kB / 0.8466 GB, free: 202.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.912e-05/0.8961, allocations: 23.3 kB / 0.8467 GB, free: 202.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.019e-05/0.8961, allocations: 18.41 kB / 0.8467 GB, free: 202.5 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002242/0.8983, allocations: 2.19 MB / 0.8488 GB, free: 201.1 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005606/0.8989, allocations: 353.9 kB / 0.8492 GB, free: 200.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001893/0.8991, allocations: 39.7 kB / 0.8492 GB, free: 200.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001055/0.9002, allocations: 95.28 kB / 0.8493 GB, free: 200.7 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.712e-05/0.9003, allocations: 98.69 kB / 0.8494 GB, free: 200.7 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.153e-05/0.9003, allocations: 51.55 kB / 0.8494 GB, free: 200.7 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0008914/0.9012, allocations: 0.8401 MB / 0.8503 GB, free: 200.2 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.11e-07/0.9012, allocations: 0 / 0.8503 GB, free: 200.2 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001263/0.9025, allocations: 429.1 kB / 0.8507 GB, free: 200.2 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.U,vol.dynBal.mXi[1],vol1.dynBal.U,vol1.dynBal.mXi[1],vol2.dynBal.U,vol2.dynBal.mXi[1],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.0004043/0.9029, allocations: 239.5 kB / 0.8509 GB, free: 200 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001577/0.9045, allocations: 1.201 MB / 0.8521 GB, free: 199.4 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.9045, allocations: 3.656 kB / 0.8521 GB, free: 199.4 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0006135/0.9051, allocations: 0.5435 MB / 0.8526 GB, free: 199.2 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00348/0.9086, allocations: 0.8965 MB / 0.8535 GB, free: 198.8 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003937/0.9126, allocations: 4.02 MB / 0.8574 GB, free: 194.9 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006108/0.9132, allocations: 1.376 MB / 0.8587 GB, free: 193.5 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001323/0.9145, allocations: 385.3 kB / 0.8591 GB, free: 193.1 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003321/0.9149, allocations: 123.4 kB / 0.8592 GB, free: 193 MB / 0.6387 GB Notification: Performance of SimCode: time 1.433e-06/0.9149, allocations: 4 kB / 0.8592 GB, free: 193 MB / 0.6387 GB Notification: Performance of Templates: time 0.03509/0.95, allocations: 27.79 MB / 0.8864 GB, free: 165.6 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.makefile (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.sim & ./IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1)