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.007608/0.007608, allocations: 95.92 kB / 15.73 MB, free: 6.039 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.001349/0.001349, allocations: 197.7 kB / 16.68 MB, free: 5.969 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.299/1.299, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7251/0.7251, allocations: 132.2 MB / 422.7 MB, free: 1.668 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001171, allocations: 64.2 kB / 0.5814 GB, free: 0.7969 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1798/0.181, allocations: 80.19 MB / 0.6597 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.5866/0.7676, allocations: 222.6 MB / 0.8771 GB, free: 2.871 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01342/0.7811, allocations: 12.11 MB / 0.8889 GB, free: 2.535 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002646/0.7837, allocations: 76.25 kB / 0.889 GB, free: 2.535 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002098/0.7859, allocations: 0.8568 MB / 0.8898 GB, free: 2.52 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.00698/0.7929, allocations: 2.854 MB / 0.8926 GB, free: 2.066 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003542/0.7965, allocations: 1.435 MB / 0.894 GB, free: 1.492 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.004914/0.8014, allocations: 4.428 MB / 0.8983 GB, free: 248 kB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002069/0.8035, allocations: 1.729 MB / 0.9 GB, free: 15.58 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004859/0.8084, allocations: 2.457 MB / 0.9024 GB, free: 14.93 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002778/0.8111, allocations: 1.554 MB / 0.9039 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0004611/0.8116, allocations: 176.4 kB / 0.9041 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005178/0.8168, allocations: 2.165 MB / 0.9062 GB, free: 14.05 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001028/0.8179, allocations: 0.7092 MB / 0.9069 GB, free: 13.75 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001571/0.8194, allocations: 1.04 MB / 0.9079 GB, free: 13.15 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.00618/0.8256, allocations: 3.346 MB / 0.9112 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.8257, allocations: 0 / 0.9112 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.743e-06/0.8257, allocations: 0 / 0.9112 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 3.984e-05/0.8257, allocations: 0 / 0.9112 GB, free: 11.2 MB / 0.6544 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.003405/0.8291, allocations: 2.34 MB / 0.9135 GB, free: 9.52 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.8292, allocations: 10.12 kB / 0.9135 GB, free: 9.52 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002824/0.832, allocations: 0.5115 MB / 0.914 GB, free: 9.281 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002334/0.8344, allocations: 1.345 MB / 0.9153 GB, free: 8.348 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.44e-05/0.8345, allocations: 106.7 kB / 0.9154 GB, free: 8.301 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002123/0.8347, allocations: 148.9 kB / 0.9155 GB, free: 8.25 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002476/0.8372, allocations: 1.766 MB / 0.9172 GB, free: 7.09 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.26e-05/0.8372, allocations: 9.75 kB / 0.9173 GB, free: 7.086 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001296/0.8373, allocations: 57.38 kB / 0.9173 GB, free: 7.043 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-05/0.8374, allocations: 54.3 kB / 0.9174 GB, free: 7.035 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001899/0.8393, allocations: 1.396 MB / 0.9187 GB, free: 6.359 MB / 0.6544 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.007715/0.847, allocations: 7.292 MB / 0.9258 GB, free: 15.45 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001385/0.8484, allocations: 1.027 MB / 0.9269 GB, free: 14.37 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008773/0.8493, allocations: 0.697 MB / 0.9275 GB, free: 13.67 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002054/0.8495, allocations: 114.1 kB / 0.9276 GB, free: 13.54 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.337e-05/0.8496, allocations: 50.19 kB / 0.9277 GB, free: 13.48 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001105/0.8507, allocations: 311.1 kB / 0.928 GB, free: 13.18 MB / 0.67 GB Notification: Performance of pre-optimization done (n=106): time 3.657e-06/0.8507, allocations: 0 / 0.928 GB, free: 13.18 MB / 0.67 GB Notification: Performance of matching and sorting (n=112): time 0.007455/0.8582, allocations: 4.518 MB / 0.9324 GB, free: 8.609 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.909e-05/0.8583, allocations: 177.6 kB / 0.9326 GB, free: 8.402 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00141/0.8597, allocations: 1.255 MB / 0.9338 GB, free: 7.137 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 8.118e-05/0.8598, allocations: 53.7 kB / 0.9338 GB, free: 7.078 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004642/0.8602, allocations: 0.7127 MB / 0.9345 GB, free: 6.363 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003137/0.8606, allocations: 420.7 kB / 0.9349 GB, free: 5.957 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003497/0.8609, allocations: 263.5 kB / 0.9352 GB, free: 5.695 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.861, allocations: 357.9 kB / 0.9355 GB, free: 5.34 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007641/0.8618, allocations: 0.527 MB / 0.936 GB, free: 4.812 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009786/0.8628, allocations: 0.8491 MB / 0.9369 GB, free: 3.844 MB / 0.67 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.01052/0.8733, allocations: 4.782 MB / 0.9415 GB, free: 14.94 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/0.8734, allocations: 4 kB / 0.9416 GB, free: 14.93 MB / 0.6856 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002464/0.8758, allocations: 1.622 MB / 0.9431 GB, free: 13.35 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.8759, allocations: 8 kB / 0.9431 GB, free: 13.34 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.435e-05/0.8759, allocations: 14.44 kB / 0.9432 GB, free: 13.33 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.352e-05/0.8759, allocations: 12.81 kB / 0.9432 GB, free: 13.32 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001067/0.877, allocations: 293.8 kB / 0.9435 GB, free: 13.05 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.101e-05/0.877, allocations: 21.05 kB / 0.9435 GB, free: 13.04 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001276/0.8783, allocations: 56.5 kB / 0.9435 GB, free: 12.98 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001046/0.8784, allocations: 64.55 kB / 0.9436 GB, free: 12.92 MB / 0.6856 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.0006723/0.8791, allocations: 420.4 kB / 0.944 GB, free: 12.52 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003187/0.8794, allocations: 179 kB / 0.9442 GB, free: 12.34 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00201/0.8815, allocations: 1.29 MB / 0.9454 GB, free: 11.04 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.281e-05/0.8815, allocations: 16 kB / 0.9454 GB, free: 11.02 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.8815, allocations: 0.5 kB / 0.9454 GB, free: 11.02 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001439/0.8829, allocations: 1.244 MB / 0.9466 GB, free: 9.719 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005432/0.8884, allocations: 3.76 MB / 0.9503 GB, free: 5.852 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.109e-05/0.8884, allocations: 11.19 kB / 0.9503 GB, free: 5.844 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001063/0.8895, allocations: 257.2 kB / 0.9506 GB, free: 5.605 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.639e-05/0.8895, allocations: 16 kB / 0.9506 GB, free: 5.59 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.166e-05/0.8896, allocations: 39.98 kB / 0.9506 GB, free: 5.551 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.065e-05/0.8896, allocations: 26.22 kB / 0.9507 GB, free: 5.531 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.546e-06/0.8896, allocations: 15.09 kB / 0.9507 GB, free: 5.52 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002812/0.8924, allocations: 2.225 MB / 0.9528 GB, free: 3.148 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007777/0.8932, allocations: 363.9 kB / 0.9532 GB, free: 2.773 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001921/0.8934, allocations: 39.98 kB / 0.9532 GB, free: 2.734 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009987/0.8944, allocations: 47.38 kB / 0.9533 GB, free: 2.691 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001381/0.8946, allocations: 105.3 kB / 0.9534 GB, free: 2.598 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.569e-05/0.8947, allocations: 51.98 kB / 0.9534 GB, free: 2.547 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001079/0.8958, allocations: 0.8529 MB / 0.9543 GB, free: 1.695 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8958, allocations: 0 / 0.9543 GB, free: 1.695 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.00132/0.8971, allocations: 435.9 kB / 0.9547 GB, free: 1.27 MB / 0.6856 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.0005267/0.8976, allocations: 242.9 kB / 0.9549 GB, free: 1.059 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001929/0.8996, allocations: 1.248 MB / 0.9561 GB, free: 15.87 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/0.8996, allocations: 4.5 kB / 0.9561 GB, free: 15.86 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0007512/0.9003, allocations: 0.5578 MB / 0.9567 GB, free: 15.34 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003971/0.9043, allocations: 0.9226 MB / 0.9576 GB, free: 14.46 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004684/0.909, allocations: 3.446 MB / 0.9609 GB, free: 10.89 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009432/0.91, allocations: 1.38 MB / 0.9623 GB, free: 9.473 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001275/0.9113, allocations: 375.9 kB / 0.9626 GB, free: 9.102 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004018/0.9117, allocations: 131.4 kB / 0.9628 GB, free: 8.973 MB / 0.7012 GB Notification: Performance of SimCode: time 5.81e-07/0.9117, allocations: 0 / 0.9628 GB, free: 8.973 MB / 0.7012 GB Notification: Performance of Templates: time 0.04579/0.9575, allocations: 30.7 MB / 0.9927 GB, free: 10.79 MB / 0.7325 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)