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.001543/0.001543, allocations: 109.6 kB / 16.38 MB, free: 6.48 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.001693/0.001693, allocations: 190.2 kB / 17.31 MB, free: 5.785 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.413/1.413, allocations: 222.9 MB / 241 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8177/0.8177, allocations: 132.2 MB / 423.4 MB, free: 6.598 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001902/0.001902, allocations: 63.75 kB / 0.582 GB, free: 23.83 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1747/0.1766, allocations: 80.21 MB / 0.6603 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.7113/0.888, allocations: 222.6 MB / 0.8777 GB, free: 7.312 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01845/0.9065, allocations: 12.1 MB / 0.8895 GB, free: 11.18 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003361/0.9099, allocations: 75.56 kB / 0.8896 GB, free: 11.11 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002798/0.9128, allocations: 0.8577 MB / 0.8904 GB, free: 10.25 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.008335/0.9211, allocations: 2.858 MB / 0.8932 GB, free: 7.375 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003974/0.9251, allocations: 1.438 MB / 0.8946 GB, free: 5.945 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.006562/0.9317, allocations: 4.438 MB / 0.8989 GB, free: 1.504 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002557/0.9343, allocations: 1.702 MB / 0.9006 GB, free: 15.76 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006609/0.9409, allocations: 2.46 MB / 0.903 GB, free: 13.3 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003492/0.9444, allocations: 1.556 MB / 0.9045 GB, free: 11.76 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0005834/0.945, allocations: 176 kB / 0.9047 GB, free: 11.59 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005101/0.9501, allocations: 2.167 MB / 0.9068 GB, free: 9.418 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0009176/0.9511, allocations: 0.7051 MB / 0.9075 GB, free: 8.711 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001561/0.9526, allocations: 1.042 MB / 0.9085 GB, free: 7.664 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.006016/0.9587, allocations: 3.33 MB / 0.9118 GB, free: 4.324 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 8.767e-06/0.9587, allocations: 0 / 0.9118 GB, free: 4.324 MB / 0.67 GB Notification: Performance of FrontEnd: time 3.356e-06/0.9587, allocations: 0 / 0.9118 GB, free: 4.324 MB / 0.67 GB Notification: Performance of Transformations before backend: time 5.208e-05/0.9588, allocations: 0 / 0.9118 GB, free: 4.324 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.004487/0.9633, allocations: 2.28 MB / 0.914 GB, free: 1.988 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.9633, allocations: 8.031 kB / 0.914 GB, free: 1.98 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003115/0.9665, allocations: 0.4933 MB / 0.9145 GB, free: 1.484 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002262/0.9687, allocations: 1.337 MB / 0.9158 GB, free: 92 kB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.845e-05/0.9689, allocations: 110.8 kB / 0.9159 GB, free: 15.98 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002298/0.9691, allocations: 147.9 kB / 0.916 GB, free: 15.83 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002584/0.9717, allocations: 1.756 MB / 0.9177 GB, free: 13.97 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.639e-05/0.9717, allocations: 7.938 kB / 0.9177 GB, free: 13.96 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001398/0.9719, allocations: 63.98 kB / 0.9178 GB, free: 13.9 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.421e-05/0.9719, allocations: 50.55 kB / 0.9179 GB, free: 13.85 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002233/0.9742, allocations: 1.395 MB / 0.9192 GB, free: 12.45 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.008885/0.9831, allocations: 7.275 MB / 0.9263 GB, free: 4.789 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001506/0.9846, allocations: 1.022 MB / 0.9273 GB, free: 3.719 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009206/0.9856, allocations: 0.6984 MB / 0.928 GB, free: 3.012 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002305/0.9858, allocations: 110.2 kB / 0.9281 GB, free: 2.887 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.92e-05/0.9859, allocations: 59.5 kB / 0.9282 GB, free: 2.82 MB / 0.6856 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001343/0.9872, allocations: 303.6 kB / 0.9284 GB, free: 2.523 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=106): time 5.841e-06/0.9872, allocations: 0 / 0.9284 GB, free: 2.523 MB / 0.6856 GB Notification: Performance of matching and sorting (n=112): time 0.008334/0.9956, allocations: 4.43 MB / 0.9328 GB, free: 14.01 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.722e-05/0.9957, allocations: 167.2 kB / 0.9329 GB, free: 13.81 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001609/0.9973, allocations: 1.267 MB / 0.9342 GB, free: 12.53 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001146/0.9975, allocations: 49.7 kB / 0.9342 GB, free: 12.48 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005221/0.998, allocations: 0.7046 MB / 0.9349 GB, free: 11.77 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.000368/0.9984, allocations: 394.2 kB / 0.9353 GB, free: 11.38 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000397/0.9988, allocations: 267.3 kB / 0.9355 GB, free: 11.11 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.9989, allocations: 362 kB / 0.9359 GB, free: 10.75 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007835/0.9997, allocations: 0.5231 MB / 0.9364 GB, free: 10.23 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001057/1.001, allocations: 0.8479 MB / 0.9372 GB, free: 9.254 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.01141/1.012, allocations: 4.785 MB / 0.9419 GB, free: 4.312 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.225e-06/1.012, allocations: 4 kB / 0.9419 GB, free: 4.309 MB / 0.7012 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002699/1.015, allocations: 1.62 MB / 0.9435 GB, free: 2.68 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.666e-05/1.015, allocations: 9.875 kB / 0.9435 GB, free: 2.672 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.367e-05/1.015, allocations: 16 kB / 0.9435 GB, free: 2.656 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.281e-05/1.015, allocations: 15.94 kB / 0.9435 GB, free: 2.641 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001152/1.016, allocations: 295.5 kB / 0.9438 GB, free: 2.352 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.487e-05/1.016, allocations: 16.95 kB / 0.9438 GB, free: 2.336 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001486/1.018, allocations: 51.91 kB / 0.9439 GB, free: 2.285 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001035/1.018, allocations: 60.23 kB / 0.9439 GB, free: 2.227 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.0007978/1.019, allocations: 423.6 kB / 0.9443 GB, free: 1.805 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003043/1.019, allocations: 170 kB / 0.9445 GB, free: 1.637 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002153/1.021, allocations: 1.298 MB / 0.9458 GB, free: 332 kB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.514e-05/1.021, allocations: 12 kB / 0.9458 GB, free: 320 kB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/1.021, allocations: 0 / 0.9458 GB, free: 320 kB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001649/1.023, allocations: 1.237 MB / 0.947 GB, free: 15.01 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006488/1.029, allocations: 3.77 MB / 0.9507 GB, free: 11.04 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.29e-05/1.029, allocations: 8 kB / 0.9507 GB, free: 11.03 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001147/1.031, allocations: 251.7 kB / 0.9509 GB, free: 10.79 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.025e-05/1.031, allocations: 16 kB / 0.9509 GB, free: 10.77 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.222e-05/1.031, allocations: 35.98 kB / 0.951 GB, free: 10.73 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.91e-05/1.031, allocations: 23.88 kB / 0.951 GB, free: 10.71 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.176e-05/1.031, allocations: 15.94 kB / 0.951 GB, free: 10.7 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002892/1.034, allocations: 2.227 MB / 0.9532 GB, free: 8.312 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006444/1.034, allocations: 355 kB / 0.9535 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001802/1.034, allocations: 43.98 kB / 0.9536 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001046/1.035, allocations: 41.47 kB / 0.9536 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001363/1.036, allocations: 104.3 kB / 0.9537 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.358e-05/1.036, allocations: 51.97 kB / 0.9537 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001155/1.037, allocations: 0.8529 MB / 0.9546 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/1.037, allocations: 0 / 0.9546 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001474/1.038, allocations: 432 kB / 0.955 GB, free: 6.434 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.0005614/1.039, allocations: 253.2 kB / 0.9552 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002038/1.041, allocations: 1.25 MB / 0.9564 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/1.041, allocations: 0 / 0.9564 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0007282/1.042, allocations: 0.5565 MB / 0.957 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003828/1.046, allocations: 0.9246 MB / 0.9579 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005006/1.051, allocations: 3.456 MB / 0.9613 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009602/1.052, allocations: 1.368 MB / 0.9626 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005113/1.052, allocations: 139.4 kB / 0.9627 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of SimCode: time 8.11e-07/1.052, allocations: 0 / 0.9627 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of Templates: time 0.03965/1.092, allocations: 25.35 MB / 0.9875 GB, free: 5.148 MB / 0.7481 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)