Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance") translateModel(IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001142/0.001142, allocations: 105.4 kB / 15.98 MB, free: 6.336 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.001096/0.001096, allocations: 197.6 kB / 16.91 MB, free: 6.191 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.368/1.368, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7923/0.7923, allocations: 135.1 MB / 425.9 MB, free: 4.344 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002194/0.002194, allocations: 63.91 kB / 0.5055 GB, free: 8.758 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3752/0.3775, allocations: 80.92 MB / 0.5845 GB, free: 25.16 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.6377/1.015, allocations: 219.8 MB / 0.7991 GB, free: 1.434 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01623/1.031, allocations: 12.02 MB / 0.8109 GB, free: 1.242 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00363/1.035, allocations: 66.72 kB / 0.8109 GB, free: 1.242 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002566/1.038, allocations: 0.7422 MB / 0.8117 GB, free: 1.23 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00774/1.046, allocations: 2.673 MB / 0.8143 GB, free: 1.109 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003801/1.049, allocations: 1.298 MB / 0.8155 GB, free: 1.086 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006247/1.056, allocations: 4.425 MB / 0.8199 GB, free: 1.066 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002577/1.058, allocations: 1.698 MB / 0.8215 GB, free: 0.8477 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006306/1.065, allocations: 2.447 MB / 0.8239 GB, free: 0.6445 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003908/1.068, allocations: 1.63 MB / 0.8255 GB, free: 420 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004267/1.069, allocations: 177.2 kB / 0.8257 GB, free: 420 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004923/1.074, allocations: 2.273 MB / 0.8279 GB, free: 252 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000955/1.075, allocations: 0.7179 MB / 0.8286 GB, free: 0 / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001684/1.076, allocations: 1.045 MB / 0.8296 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003829/1.08, allocations: 2.494 MB / 0.832 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.735e-06/1.08, allocations: 4 kB / 0.832 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.583e-06/1.08, allocations: 1.125 kB / 0.832 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.905e-05/1.08, allocations: 0 / 0.832 GB, free: 14.76 MB / 0.5919 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.004195/1.085, allocations: 2.273 MB / 0.8343 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/1.085, allocations: 13.95 kB / 0.8343 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003134/1.088, allocations: 0.4901 MB / 0.8348 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002228/1.09, allocations: 1.262 MB / 0.836 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.174e-05/1.09, allocations: 108.3 kB / 0.8361 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002286/1.09, allocations: 155.6 kB / 0.8362 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002824/1.093, allocations: 1.75 MB / 0.838 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.969e-05/1.093, allocations: 9.203 kB / 0.838 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001487/1.093, allocations: 67.67 kB / 0.838 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.899e-05/1.093, allocations: 48.55 kB / 0.8381 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002147/1.096, allocations: 1.393 MB / 0.8394 GB, free: 10.05 MB / 0.5919 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.009279/1.105, allocations: 7.284 MB / 0.8465 GB, free: 3.844 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001477/1.106, allocations: 1.03 MB / 0.8476 GB, free: 2.777 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009082/1.107, allocations: 0.6969 MB / 0.8482 GB, free: 2.062 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002333/1.108, allocations: 114.1 kB / 0.8483 GB, free: 1.934 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.536e-05/1.108, allocations: 50.19 kB / 0.8484 GB, free: 1.879 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001489/1.109, allocations: 312.5 kB / 0.8487 GB, free: 1.578 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=106): time 4.959e-06/1.109, allocations: 0 / 0.8487 GB, free: 1.578 MB / 0.5919 GB Notification: Performance of matching and sorting (n=112): time 0.008264/1.117, allocations: 4.431 MB / 0.853 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001065/1.118, allocations: 171.2 kB / 0.8532 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001533/1.119, allocations: 1.265 MB / 0.8544 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001265/1.119, allocations: 49.7 kB / 0.8545 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005571/1.12, allocations: 0.7022 MB / 0.8551 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004711/1.12, allocations: 402 kB / 0.8555 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004438/1.121, allocations: 263.5 kB / 0.8558 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001641/1.121, allocations: 357.9 kB / 0.8561 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008117/1.122, allocations: 0.5231 MB / 0.8566 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001035/1.123, allocations: 0.854 MB / 0.8575 GB, free: 8.348 MB / 0.6075 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.01108/1.134, allocations: 4.791 MB / 0.8621 GB, free: 3.426 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.676e-06/1.134, allocations: 4 kB / 0.8621 GB, free: 3.422 MB / 0.6075 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002718/1.137, allocations: 1.617 MB / 0.8637 GB, free: 1.844 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.615e-05/1.137, allocations: 8 kB / 0.8637 GB, free: 1.836 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.596e-05/1.137, allocations: 8 kB / 0.8637 GB, free: 1.828 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.407e-05/1.137, allocations: 16 kB / 0.8638 GB, free: 1.812 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00115/1.138, allocations: 296.7 kB / 0.864 GB, free: 1.543 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.347e-05/1.138, allocations: 18.62 kB / 0.8641 GB, free: 1.527 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001721/1.14, allocations: 93.73 kB / 0.8641 GB, free: 1.438 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000111/1.14, allocations: 67.97 kB / 0.8642 GB, free: 1.371 MB / 0.6075 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.0008098/1.141, allocations: 425.9 kB / 0.8646 GB, free: 0.9648 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000326/1.141, allocations: 166.1 kB / 0.8648 GB, free: 0.8008 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002063/1.143, allocations: 1.289 MB / 0.866 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.917e-05/1.143, allocations: 27.86 kB / 0.8661 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/1.143, allocations: 3.938 kB / 0.8661 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001469/1.145, allocations: 1.239 MB / 0.8673 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006197/1.151, allocations: 3.753 MB / 0.8709 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.507e-05/1.151, allocations: 8 kB / 0.8709 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001168/1.152, allocations: 257.4 kB / 0.8712 GB, free: 10.06 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.446e-05/1.152, allocations: 16 kB / 0.8712 GB, free: 10.04 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001114/1.152, allocations: 43.98 kB / 0.8713 GB, free: 10 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-05/1.152, allocations: 17.16 kB / 0.8713 GB, free: 9.988 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.025e-05/1.152, allocations: 17.06 kB / 0.8713 GB, free: 9.977 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003141/1.155, allocations: 2.221 MB / 0.8735 GB, free: 7.617 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009664/1.156, allocations: 358.9 kB / 0.8738 GB, free: 7.246 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004113/1.157, allocations: 39.98 kB / 0.8738 GB, free: 7.207 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001618/1.158, allocations: 87.78 kB / 0.8739 GB, free: 7.121 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001774/1.159, allocations: 96.03 kB / 0.874 GB, free: 7.035 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001129/1.159, allocations: 51.98 kB / 0.8741 GB, free: 6.984 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001593/1.16, allocations: 0.8568 MB / 0.8749 GB, free: 6.129 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.8e-07/1.16, allocations: 0 / 0.8749 GB, free: 6.129 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002104/1.162, allocations: 436 kB / 0.8753 GB, free: 5.703 MB / 0.6231 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.0006789/1.163, allocations: 239.3 kB / 0.8755 GB, free: 5.488 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002899/1.166, allocations: 1.433 MB / 0.8769 GB, free: 4.117 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.305e-05/1.166, allocations: 4.625 kB / 0.8769 GB, free: 4.113 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0008667/1.167, allocations: 0.5495 MB / 0.8775 GB, free: 3.602 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006174/1.173, allocations: 0.9401 MB / 0.8784 GB, free: 2.719 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007488/1.181, allocations: 4.078 MB / 0.8824 GB, free: 14.51 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001483/1.182, allocations: 1.368 MB / 0.8837 GB, free: 13.11 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007363/1.183, allocations: 139.4 kB / 0.8838 GB, free: 12.97 MB / 0.6387 GB Notification: Performance of SimCode: time 7.61e-07/1.183, allocations: 0 / 0.8838 GB, free: 12.97 MB / 0.6387 GB Notification: Performance of Templates: time 0.04409/1.227, allocations: 25.35 MB / 0.9086 GB, free: 3.789 MB / 0.6544 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.makefile (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.sim & ./IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1)