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.01025/0.01025, allocations: 100.6 kB / 15.73 MB, free: 5.492 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.002027/0.002027, allocations: 186.7 kB / 16.67 MB, free: 5.422 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.435/1.435, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8202/0.8202, allocations: 132.2 MB / 422.7 MB, free: 6.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001649/0.001649, allocations: 63.2 kB / 0.5814 GB, free: 23.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1836/0.1852, allocations: 80.21 MB / 0.6597 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.6928/0.878, allocations: 222.6 MB / 0.8771 GB, free: 7.219 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01899/0.8971, allocations: 12.09 MB / 0.8889 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00357/0.9007, allocations: 75.56 kB / 0.8889 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002857/0.9036, allocations: 0.8928 MB / 0.8898 GB, free: 10.12 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.008013/0.9116, allocations: 2.957 MB / 0.8927 GB, free: 7.152 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003847/0.9155, allocations: 1.442 MB / 0.8941 GB, free: 5.719 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.006357/0.9219, allocations: 4.45 MB / 0.8985 GB, free: 1.266 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002482/0.9244, allocations: 1.713 MB / 0.9001 GB, free: 15.52 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006661/0.931, allocations: 2.548 MB / 0.9026 GB, free: 12.96 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003501/0.9346, allocations: 1.55 MB / 0.9041 GB, free: 11.43 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0004666/0.935, allocations: 180 kB / 0.9043 GB, free: 11.25 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005318/0.9404, allocations: 2.175 MB / 0.9064 GB, free: 9.074 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0008452/0.9412, allocations: 0.7012 MB / 0.9071 GB, free: 8.371 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001631/0.9429, allocations: 1.046 MB / 0.9081 GB, free: 7.32 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.005628/0.9485, allocations: 3.334 MB / 0.9114 GB, free: 3.977 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.221e-06/0.9486, allocations: 0 / 0.9114 GB, free: 3.977 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.475e-06/0.9486, allocations: 0 / 0.9114 GB, free: 3.977 MB / 0.67 GB Notification: Performance of Transformations before backend: time 2.67e-05/0.9486, allocations: 0 / 0.9114 GB, free: 3.977 MB / 0.67 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.003732/0.9523, allocations: 2.28 MB / 0.9136 GB, free: 1.641 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.9524, allocations: 12.03 kB / 0.9136 GB, free: 1.629 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002952/0.9553, allocations: 0.4933 MB / 0.9141 GB, free: 1.133 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00207/0.9574, allocations: 1.329 MB / 0.9154 GB, free: 15.74 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.053e-05/0.9575, allocations: 114.7 kB / 0.9155 GB, free: 15.63 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002061/0.9577, allocations: 155.9 kB / 0.9157 GB, free: 15.48 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002663/0.9604, allocations: 1.753 MB / 0.9174 GB, free: 13.62 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.849e-05/0.9604, allocations: 7.938 kB / 0.9174 GB, free: 13.61 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001343/0.9606, allocations: 60 kB / 0.9174 GB, free: 13.55 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.803e-05/0.9607, allocations: 54.53 kB / 0.9175 GB, free: 13.5 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002192/0.9629, allocations: 1.392 MB / 0.9189 GB, free: 12.1 MB / 0.6856 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.008588/0.9714, allocations: 7.28 MB / 0.926 GB, free: 4.438 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001408/0.9729, allocations: 1.018 MB / 0.927 GB, free: 3.371 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008917/0.9738, allocations: 0.6983 MB / 0.9276 GB, free: 2.664 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002097/0.974, allocations: 114.2 kB / 0.9277 GB, free: 2.535 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.432e-05/0.9741, allocations: 51.56 kB / 0.9278 GB, free: 2.477 MB / 0.6856 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001152/0.9752, allocations: 306.5 kB / 0.9281 GB, free: 2.176 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=106): time 3.888e-06/0.9752, allocations: 0 / 0.9281 GB, free: 2.176 MB / 0.6856 GB Notification: Performance of matching and sorting (n=112): time 0.007801/0.983, allocations: 4.437 MB / 0.9324 GB, free: 13.66 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.157e-05/0.9831, allocations: 167.2 kB / 0.9326 GB, free: 13.46 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001506/0.9847, allocations: 1.267 MB / 0.9338 GB, free: 12.18 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 9.55e-05/0.9848, allocations: 49.7 kB / 0.9339 GB, free: 12.12 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005009/0.9853, allocations: 0.7045 MB / 0.9346 GB, free: 11.41 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003407/0.9856, allocations: 398.2 kB / 0.9349 GB, free: 11.02 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003622/0.986, allocations: 263.5 kB / 0.9352 GB, free: 10.76 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.9861, allocations: 357.9 kB / 0.9355 GB, free: 10.4 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008143/0.987, allocations: 0.5192 MB / 0.936 GB, free: 9.883 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001007/0.988, allocations: 0.8595 MB / 0.9369 GB, free: 8.898 MB / 0.7012 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.01129/0.9993, allocations: 4.781 MB / 0.9415 GB, free: 3.961 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.047e-06/0.9993, allocations: 4 kB / 0.9415 GB, free: 3.957 MB / 0.7012 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002805/1.002, allocations: 1.62 MB / 0.9431 GB, free: 2.328 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.575e-05/1.002, allocations: 8 kB / 0.9431 GB, free: 2.32 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.295e-05/1.002, allocations: 8 kB / 0.9431 GB, free: 2.312 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.151e-05/1.002, allocations: 23.94 kB / 0.9432 GB, free: 2.289 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001193/1.003, allocations: 291.5 kB / 0.9434 GB, free: 2.004 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.481e-05/1.003, allocations: 19.94 kB / 0.9435 GB, free: 1.984 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001606/1.005, allocations: 48.3 kB / 0.9435 GB, free: 1.938 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000137/1.005, allocations: 67.97 kB / 0.9436 GB, free: 1.871 MB / 0.7012 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.0009778/1.006, allocations: 421.4 kB / 0.944 GB, free: 1.449 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005406/1.007, allocations: 162 kB / 0.9441 GB, free: 1.289 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00241/1.009, allocations: 1.299 MB / 0.9454 GB, free: 15.97 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.51e-05/1.009, allocations: 12 kB / 0.9454 GB, free: 15.96 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.598e-06/1.009, allocations: 4 kB / 0.9454 GB, free: 15.95 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001601/1.011, allocations: 1.24 MB / 0.9466 GB, free: 14.65 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006772/1.018, allocations: 3.758 MB / 0.9503 GB, free: 10.69 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.71e-05/1.018, allocations: 12 kB / 0.9503 GB, free: 10.68 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001248/1.019, allocations: 255.6 kB / 0.9505 GB, free: 10.43 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.291e-05/1.019, allocations: 12 kB / 0.9506 GB, free: 10.41 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001037/1.019, allocations: 39.98 kB / 0.9506 GB, free: 10.38 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.481e-05/1.019, allocations: 19.94 kB / 0.9506 GB, free: 10.36 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-05/1.019, allocations: 15.98 kB / 0.9506 GB, free: 10.34 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003103/1.022, allocations: 2.234 MB / 0.9528 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008145/1.023, allocations: 359 kB / 0.9532 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003518/1.023, allocations: 35.98 kB / 0.9532 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001257/1.025, allocations: 47.44 kB / 0.9532 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001653/1.025, allocations: 100.3 kB / 0.9533 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001035/1.025, allocations: 51.98 kB / 0.9534 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001336/1.026, allocations: 0.8529 MB / 0.9542 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/1.026, allocations: 0 / 0.9542 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001522/1.028, allocations: 428 kB / 0.9546 GB, free: 6.078 MB / 0.7169 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 (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.0005625/1.028, allocations: 255.6 kB / 0.9549 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002105/1.031, allocations: 1.249 MB / 0.9561 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 9.678e-06/1.031, allocations: 4 kB / 0.9561 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0008083/1.031, allocations: 0.5487 MB / 0.9566 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004283/1.036, allocations: 0.9308 MB / 0.9575 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005519/1.041, allocations: 3.384 MB / 0.9608 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001157/1.042, allocations: 1.376 MB / 0.9622 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001471/1.044, allocations: 373.4 kB / 0.9625 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004991/1.044, allocations: 131.4 kB / 0.9627 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of SimCode: time 7.92e-07/1.044, allocations: 0 / 0.9627 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of Templates: time 0.05014/1.095, allocations: 30.7 MB / 0.9926 GB, free: 15.3 MB / 0.7637 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)