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.00132/0.00132, allocations: 104 kB / 15.6 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001578/0.001578, allocations: 192.1 kB / 16.53 MB, free: 6.625 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.362/1.362, allocations: 222.9 MB / 240.2 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7319/0.7319, allocations: 132.2 MB / 422.6 MB, free: 1.77 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001476/0.001477, allocations: 64.28 kB / 0.5018 GB, free: 3.875 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4106/0.4121, allocations: 80.2 MB / 0.5801 GB, free: 4.543 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.2301/0.6422, allocations: 222.6 MB / 0.7974 GB, free: 2.211 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01723/0.6595, allocations: 12.1 MB / 0.8093 GB, free: 6.07 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002451/0.662, allocations: 71.62 kB / 0.8093 GB, free: 6 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002682/0.6647, allocations: 0.8537 MB / 0.8102 GB, free: 5.141 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.007311/0.6721, allocations: 2.866 MB / 0.813 GB, free: 2.262 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003575/0.6756, allocations: 1.416 MB / 0.8143 GB, free: 0.8555 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.3927/1.068, allocations: 4.419 MB / 0.8186 GB, free: 4.828 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00375/1.072, allocations: 1.713 MB / 0.8203 GB, free: 4.668 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006415/1.079, allocations: 2.453 MB / 0.8227 GB, free: 4.668 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003537/1.082, allocations: 1.545 MB / 0.8242 GB, free: 4.664 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0009308/1.083, allocations: 179.2 kB / 0.8244 GB, free: 4.664 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005152/1.088, allocations: 2.159 MB / 0.8265 GB, free: 4.664 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001398/1.09, allocations: 0.7082 MB / 0.8272 GB, free: 4.664 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.003693/1.093, allocations: 1.046 MB / 0.8282 GB, free: 4.664 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.008179/1.102, allocations: 3.273 MB / 0.8314 GB, free: 4.566 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/1.102, allocations: 1.969 kB / 0.8314 GB, free: 4.566 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.823e-06/1.102, allocations: 0 / 0.8314 GB, free: 4.566 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001179/1.102, allocations: 0.875 kB / 0.8314 GB, free: 4.566 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.007324/1.109, allocations: 2.284 MB / 0.8336 GB, free: 19.5 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/1.109, allocations: 9.438 kB / 0.8337 GB, free: 19.5 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003497/1.113, allocations: 0.4952 MB / 0.8341 GB, free: 19.4 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00256/1.115, allocations: 1.244 MB / 0.8354 GB, free: 18.98 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.725e-05/1.115, allocations: 109.7 kB / 0.8355 GB, free: 18.98 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002713/1.116, allocations: 152.9 kB / 0.8356 GB, free: 18.98 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002462/1.118, allocations: 1.77 MB / 0.8373 GB, free: 18.66 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.399e-05/1.118, allocations: 4.094 kB / 0.8373 GB, free: 18.66 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000134/1.118, allocations: 61.94 kB / 0.8374 GB, free: 18.66 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.826e-05/1.118, allocations: 51.45 kB / 0.8374 GB, free: 18.66 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001886/1.12, allocations: 1.393 MB / 0.8388 GB, free: 18.64 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.008194/1.128, allocations: 7.319 MB / 0.846 GB, free: 14.71 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00122/1.13, allocations: 1.023 MB / 0.847 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007642/1.13, allocations: 0.6939 MB / 0.8476 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002195/1.131, allocations: 112 kB / 0.8477 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.954e-05/1.131, allocations: 52.94 kB / 0.8478 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001154/1.132, allocations: 316.1 kB / 0.8481 GB, free: 14.35 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=106): time 3.496e-06/1.132, allocations: 0 / 0.8481 GB, free: 14.35 MB / 0.6544 GB Notification: Performance of matching and sorting (n=112): time 0.007166/1.139, allocations: 4.429 MB / 0.8524 GB, free: 13 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.942e-05/1.139, allocations: 170 kB / 0.8526 GB, free: 12.81 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001348/1.141, allocations: 1.259 MB / 0.8538 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001235/1.141, allocations: 51.48 kB / 0.8539 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004138/1.141, allocations: 0.7001 MB / 0.8545 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002812/1.141, allocations: 402.5 kB / 0.8549 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003225/1.142, allocations: 262.9 kB / 0.8552 GB, free: 12.08 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001203/1.142, allocations: 361.9 kB / 0.8555 GB, free: 11.78 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006994/1.143, allocations: 0.5202 MB / 0.856 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008251/1.143, allocations: 0.8548 MB / 0.8569 GB, free: 11.44 MB / 0.6544 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.0106/1.154, allocations: 4.793 MB / 0.8615 GB, free: 10.81 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.031e-05/1.154, allocations: 6.25 kB / 0.8616 GB, free: 10.81 MB / 0.6544 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002414/1.156, allocations: 1.617 MB / 0.8631 GB, free: 10.66 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.668e-05/1.156, allocations: 9.031 kB / 0.8631 GB, free: 10.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.604e-05/1.156, allocations: 7.906 kB / 0.8631 GB, free: 10.66 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.209e-05/1.157, allocations: 17.75 kB / 0.8632 GB, free: 10.66 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001085/1.158, allocations: 291.9 kB / 0.8634 GB, free: 10.66 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.38e-05/1.158, allocations: 21.62 kB / 0.8635 GB, free: 10.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001618/1.159, allocations: 49.53 kB / 0.8635 GB, free: 10.66 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001249/1.159, allocations: 59.38 kB / 0.8636 GB, free: 10.66 MB / 0.6544 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.000957/1.16, allocations: 434.6 kB / 0.864 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004247/1.161, allocations: 162.1 kB / 0.8641 GB, free: 10.46 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002053/1.163, allocations: 1.296 MB / 0.8654 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-05/1.163, allocations: 16.11 kB / 0.8654 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/1.163, allocations: 3.375 kB / 0.8654 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00135/1.164, allocations: 1.237 MB / 0.8666 GB, free: 10.01 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005975/1.17, allocations: 3.768 MB / 0.8703 GB, free: 9.016 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-05/1.17, allocations: 12.62 kB / 0.8703 GB, free: 9.016 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00108/1.171, allocations: 252.1 kB / 0.8706 GB, free: 9.016 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.007e-05/1.171, allocations: 17.44 kB / 0.8706 GB, free: 9.016 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.819e-05/1.172, allocations: 38.47 kB / 0.8706 GB, free: 9.016 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.76e-05/1.172, allocations: 19.75 kB / 0.8706 GB, free: 9.016 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-05/1.172, allocations: 18.44 kB / 0.8706 GB, free: 9.016 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002665/1.174, allocations: 2.222 MB / 0.8728 GB, free: 8.391 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008276/1.175, allocations: 357.4 kB / 0.8732 GB, free: 8.215 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001954/1.175, allocations: 36.06 kB / 0.8732 GB, free: 8.215 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001046/1.176, allocations: 48.83 kB / 0.8732 GB, free: 8.215 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001305/1.176, allocations: 100.4 kB / 0.8733 GB, free: 8.207 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.051e-05/1.177, allocations: 56.25 kB / 0.8734 GB, free: 8.203 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0009841/1.178, allocations: 0.8515 MB / 0.8742 GB, free: 8.094 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.5e-07/1.178, allocations: 0.9062 kB / 0.8742 GB, free: 8.094 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001374/1.179, allocations: 429.5 kB / 0.8746 GB, free: 8.094 MB / 0.6544 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.0004854/1.179, allocations: 240 kB / 0.8749 GB, free: 7.988 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002204/1.182, allocations: 1.433 MB / 0.8763 GB, free: 7.961 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/1.182, allocations: 2.781 kB / 0.8763 GB, free: 7.961 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0006469/1.182, allocations: 0.5528 MB / 0.8768 GB, free: 7.957 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004103/1.186, allocations: 0.928 MB / 0.8777 GB, free: 7.875 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005126/1.192, allocations: 3.428 MB / 0.8811 GB, free: 6.184 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009052/1.192, allocations: 1.372 MB / 0.8824 GB, free: 5.453 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001682/1.194, allocations: 380.6 kB / 0.8828 GB, free: 5.371 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000392/1.195, allocations: 131 kB / 0.8829 GB, free: 5.363 MB / 0.6544 GB Notification: Performance of SimCode: time 1.162e-06/1.195, allocations: 0 / 0.8829 GB, free: 5.363 MB / 0.6544 GB Notification: Performance of Templates: time 0.0492/1.244, allocations: 30.45 MB / 0.9126 GB, free: 12.91 MB / 0.6856 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)