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.001088/0.001087, allocations: 99.8 kB / 16.35 MB, free: 5.828 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.00108/0.00108, allocations: 193.4 kB / 17.29 MB, free: 5.484 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.292/1.292, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7639/0.7639, allocations: 132.2 MB / 423.3 MB, free: 6.578 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 63.91 kB / 0.5032 GB, free: 10.93 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3464/0.3477, allocations: 80.18 MB / 0.5815 GB, free: 27.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.525/0.8728, allocations: 222.6 MB / 0.7988 GB, free: 1.383 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01458/0.8874, allocations: 12.09 MB / 0.8106 GB, free: 1.156 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002588/0.89, allocations: 77.5 kB / 0.8107 GB, free: 1.156 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002317/0.8923, allocations: 0.858 MB / 0.8115 GB, free: 1.141 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008632/0.9011, allocations: 2.859 MB / 0.8143 GB, free: 1.02 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003584/0.9047, allocations: 1.433 MB / 0.8157 GB, free: 0.9883 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005588/0.9103, allocations: 4.435 MB / 0.8201 GB, free: 0.9805 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002349/0.9126, allocations: 1.715 MB / 0.8217 GB, free: 0.7812 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005268/0.9179, allocations: 2.474 MB / 0.8242 GB, free: 0.5664 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00287/0.9208, allocations: 1.54 MB / 0.8257 GB, free: 340 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000332/0.9212, allocations: 178.3 kB / 0.8258 GB, free: 340 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004433/0.9256, allocations: 2.169 MB / 0.8279 GB, free: 316 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0007551/0.9264, allocations: 0.6994 MB / 0.8286 GB, free: 132 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001563/0.9279, allocations: 1.05 MB / 0.8297 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.005508/0.9335, allocations: 3.322 MB / 0.8329 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.9335, allocations: 0 / 0.8329 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.204e-06/0.9335, allocations: 0 / 0.8329 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.825e-05/0.9335, allocations: 0 / 0.8329 GB, free: 13.99 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.004033/0.9376, allocations: 2.278 MB / 0.8351 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.9376, allocations: 14.09 kB / 0.8351 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003088/0.9407, allocations: 0.4936 MB / 0.8356 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002465/0.9432, allocations: 1.335 MB / 0.8369 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.222e-05/0.9433, allocations: 114.6 kB / 0.837 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002159/0.9435, allocations: 146.1 kB / 0.8372 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002566/0.9461, allocations: 1.753 MB / 0.8389 GB, free: 9.973 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.89e-05/0.9461, allocations: 9.031 kB / 0.8389 GB, free: 9.969 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000134/0.9463, allocations: 63.66 kB / 0.839 GB, free: 9.922 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.421e-05/0.9463, allocations: 55.59 kB / 0.839 GB, free: 9.914 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002057/0.9484, allocations: 1.399 MB / 0.8404 GB, free: 9.234 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.008443/0.9569, allocations: 7.273 MB / 0.8475 GB, free: 2.973 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001413/0.9583, allocations: 1.024 MB / 0.8485 GB, free: 1.914 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009006/0.9592, allocations: 0.6931 MB / 0.8492 GB, free: 1.211 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002194/0.9594, allocations: 117.7 kB / 0.8493 GB, free: 1.082 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.086e-05/0.9595, allocations: 54.09 kB / 0.8493 GB, free: 1.023 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001139/0.9606, allocations: 300.8 kB / 0.8496 GB, free: 0.7305 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=106): time 2.856e-06/0.9606, allocations: 0 / 0.8496 GB, free: 0.7305 MB / 0.5919 GB Notification: Performance of matching and sorting (n=112): time 0.00804/0.9687, allocations: 4.432 MB / 0.8539 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.444e-05/0.9688, allocations: 169.8 kB / 0.8541 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001558/0.9704, allocations: 1.271 MB / 0.8553 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001095/0.9705, allocations: 49.7 kB / 0.8554 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004947/0.971, allocations: 0.6991 MB / 0.8561 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003605/0.9714, allocations: 402.9 kB / 0.8565 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003914/0.9718, allocations: 263.4 kB / 0.8567 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.9719, allocations: 357.9 kB / 0.857 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000809/0.9727, allocations: 0.5231 MB / 0.8576 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001031/0.9738, allocations: 0.8529 MB / 0.8584 GB, free: 7.492 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.01129/0.9851, allocations: 4.782 MB / 0.8631 GB, free: 2.586 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.543e-06/0.9851, allocations: 0 / 0.8631 GB, free: 2.586 MB / 0.6075 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002648/0.9877, allocations: 1.62 MB / 0.8646 GB, free: 1.004 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.574e-05/0.9878, allocations: 8 kB / 0.8646 GB, free: 0.9961 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.56e-05/0.9878, allocations: 12 kB / 0.8647 GB, free: 0.9844 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.903e-05/0.9878, allocations: 16.81 kB / 0.8647 GB, free: 0.9688 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001156/0.989, allocations: 292.3 kB / 0.865 GB, free: 0.7031 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.515e-05/0.989, allocations: 26.45 kB / 0.865 GB, free: 0.6797 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001462/0.9905, allocations: 50.52 kB / 0.865 GB, free: 0.6328 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001148/0.9906, allocations: 59.97 kB / 0.8651 GB, free: 0.5742 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.0007573/0.9914, allocations: 425.5 kB / 0.8655 GB, free: 172 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003589/0.9918, allocations: 162 kB / 0.8656 GB, free: 8 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002129/0.9939, allocations: 1.285 MB / 0.8669 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.201e-05/0.9939, allocations: 16 kB / 0.8669 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.445e-06/0.9939, allocations: 3.938 kB / 0.8669 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001504/0.9954, allocations: 1.239 MB / 0.8681 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0061/1.002, allocations: 3.767 MB / 0.8718 GB, free: 9.52 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.416e-05/1.002, allocations: 12 kB / 0.8718 GB, free: 9.508 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001147/1.003, allocations: 251.8 kB / 0.8721 GB, free: 9.277 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.008e-05/1.003, allocations: 19.94 kB / 0.8721 GB, free: 9.258 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.942e-05/1.003, allocations: 43.94 kB / 0.8721 GB, free: 9.215 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.831e-05/1.003, allocations: 26.59 kB / 0.8721 GB, free: 9.191 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.044e-05/1.003, allocations: 13.06 kB / 0.8722 GB, free: 9.184 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002837/1.006, allocations: 2.217 MB / 0.8743 GB, free: 6.816 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008423/1.007, allocations: 355 kB / 0.8747 GB, free: 6.449 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001939/1.007, allocations: 43.92 kB / 0.8747 GB, free: 6.406 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001067/1.008, allocations: 47.97 kB / 0.8747 GB, free: 6.359 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001513/1.008, allocations: 96.03 kB / 0.8748 GB, free: 6.273 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.494e-05/1.008, allocations: 51.98 kB / 0.8749 GB, free: 6.223 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001075/1.009, allocations: 0.8568 MB / 0.8757 GB, free: 5.367 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.4e-07/1.009, allocations: 0 / 0.8757 GB, free: 5.367 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001343/1.011, allocations: 436 kB / 0.8761 GB, free: 4.941 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.0005377/1.011, allocations: 235 kB / 0.8764 GB, free: 4.73 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001995/1.013, allocations: 1.258 MB / 0.8776 GB, free: 3.527 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 8.947e-06/1.013, allocations: 4.5 kB / 0.8776 GB, free: 3.523 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0007523/1.014, allocations: 0.5518 MB / 0.8781 GB, free: 3.016 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00383/1.018, allocations: 0.93 MB / 0.879 GB, free: 2.137 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004889/1.023, allocations: 3.379 MB / 0.8823 GB, free: 14.62 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009048/1.024, allocations: 1.372 MB / 0.8837 GB, free: 13.22 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.00133/1.025, allocations: 381.3 kB / 0.8841 GB, free: 12.84 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003845/1.025, allocations: 129.8 kB / 0.8842 GB, free: 12.72 MB / 0.6387 GB Notification: Performance of SimCode: time 7.11e-07/1.025, allocations: 0 / 0.8842 GB, free: 12.72 MB / 0.6387 GB Notification: Performance of Templates: time 0.04773/1.073, allocations: 30.41 MB / 0.9139 GB, free: 14.79 MB / 0.67 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 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1)