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.001574/0.001574, allocations: 103.2 kB / 16.35 MB, free: 5.875 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.001821/0.001821, allocations: 196 kB / 17.3 MB, free: 5.516 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.268/1.268, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7577/0.7577, allocations: 135.1 MB / 426.3 MB, free: 4.098 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 67.89 kB / 0.5067 GB, free: 7.637 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3111/0.3124, allocations: 80.9 MB / 0.5857 GB, free: 25.53 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.5388/0.8512, allocations: 222.6 MB / 0.8031 GB, free: 1.352 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01392/0.8652, allocations: 12.1 MB / 0.8149 GB, free: 1.125 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002431/0.8676, allocations: 73 kB / 0.815 GB, free: 1.125 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001858/0.8695, allocations: 0.8554 MB / 0.8158 GB, free: 1.113 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006311/0.8759, allocations: 2.867 MB / 0.8186 GB, free: 0.9883 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0031/0.879, allocations: 1.424 MB / 0.82 GB, free: 0.9609 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005025/0.884, allocations: 4.443 MB / 0.8243 GB, free: 0.8906 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001876/0.8859, allocations: 1.723 MB / 0.826 GB, free: 0.6641 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004617/0.8906, allocations: 2.459 MB / 0.8284 GB, free: 412 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002547/0.8931, allocations: 1.567 MB / 0.83 GB, free: 0 / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002594/0.8934, allocations: 178.2 kB / 0.8301 GB, free: 0 / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004169/0.8976, allocations: 2.172 MB / 0.8322 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0006988/0.8983, allocations: 0.7054 MB / 0.8329 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001266/0.8995, allocations: 1.046 MB / 0.834 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004536/0.9041, allocations: 3.332 MB / 0.8372 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.9041, allocations: 0 / 0.8372 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.944e-06/0.9041, allocations: 4 kB / 0.8372 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.792e-05/0.9042, allocations: 0 / 0.8372 GB, free: 12.88 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.003473/0.9076, allocations: 2.27 MB / 0.8394 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.9077, allocations: 9.609 kB / 0.8394 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002855/0.9105, allocations: 0.4938 MB / 0.8399 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002294/0.9128, allocations: 1.346 MB / 0.8412 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.559e-05/0.9129, allocations: 104.9 kB / 0.8413 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000192/0.9131, allocations: 149.4 kB / 0.8415 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002344/0.9155, allocations: 1.762 MB / 0.8432 GB, free: 8.863 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.476e-05/0.9155, allocations: 2.531 kB / 0.8432 GB, free: 8.863 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001296/0.9157, allocations: 61.48 kB / 0.8433 GB, free: 8.82 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.371e-05/0.9157, allocations: 53.47 kB / 0.8433 GB, free: 8.812 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001941/0.9177, allocations: 1.393 MB / 0.8447 GB, free: 8.137 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.007744/0.9254, allocations: 7.278 MB / 0.8518 GB, free: 0.9062 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00133/0.9268, allocations: 1.025 MB / 0.8528 GB, free: 15.84 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008542/0.9276, allocations: 0.6906 MB / 0.8535 GB, free: 15.13 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002072/0.9278, allocations: 116.6 kB / 0.8536 GB, free: 15 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.211e-05/0.9279, allocations: 50.09 kB / 0.8536 GB, free: 14.95 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009762/0.9289, allocations: 308.5 kB / 0.8539 GB, free: 14.65 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=106): time 2.835e-06/0.9289, allocations: 0 / 0.8539 GB, free: 14.65 MB / 0.6075 GB Notification: Performance of matching and sorting (n=112): time 0.00709/0.936, allocations: 4.433 MB / 0.8582 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.353e-05/0.9361, allocations: 171.2 kB / 0.8584 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001552/0.9376, allocations: 1.267 MB / 0.8596 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.623e-05/0.9378, allocations: 56.23 kB / 0.8597 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004986/0.9383, allocations: 0.6922 MB / 0.8604 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003138/0.9386, allocations: 409.1 kB / 0.8608 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003503/0.9389, allocations: 259.4 kB / 0.861 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.9391, allocations: 353.9 kB / 0.8613 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007495/0.9398, allocations: 0.5231 MB / 0.8619 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009593/0.9408, allocations: 0.8543 MB / 0.8627 GB, free: 5.418 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.01069/0.9515, allocations: 4.788 MB / 0.8674 GB, free: 0.5039 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.684e-06/0.9515, allocations: 4 kB / 0.8674 GB, free: 0.5 MB / 0.6075 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002491/0.954, allocations: 1.613 MB / 0.8689 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/0.954, allocations: 8 kB / 0.869 GB, free: 14.92 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.435e-05/0.9541, allocations: 8 kB / 0.869 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.423e-05/0.9541, allocations: 20.06 kB / 0.869 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001128/0.9552, allocations: 296.2 kB / 0.8693 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.197e-05/0.9553, allocations: 22.38 kB / 0.8693 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001352/0.9566, allocations: 54.23 kB / 0.8693 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001061/0.9567, allocations: 63.97 kB / 0.8694 GB, free: 14.49 MB / 0.6231 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.0007516/0.9575, allocations: 422.1 kB / 0.8698 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003198/0.9578, allocations: 162 kB / 0.87 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002/0.9598, allocations: 1.289 MB / 0.8712 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.166e-05/0.9599, allocations: 15.94 kB / 0.8712 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.635e-06/0.9599, allocations: 4 kB / 0.8712 GB, free: 12.6 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001444/0.9613, allocations: 1.241 MB / 0.8724 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005566/0.9669, allocations: 3.753 MB / 0.8761 GB, free: 7.441 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.136e-05/0.9669, allocations: 8 kB / 0.8761 GB, free: 7.434 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001128/0.9681, allocations: 267.1 kB / 0.8764 GB, free: 7.188 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.654e-05/0.9681, allocations: 12 kB / 0.8764 GB, free: 7.176 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.812e-05/0.9682, allocations: 39.98 kB / 0.8764 GB, free: 7.137 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.14e-05/0.9682, allocations: 22.28 kB / 0.8764 GB, free: 7.121 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.508e-06/0.9682, allocations: 15.09 kB / 0.8765 GB, free: 7.109 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00267/0.9709, allocations: 2.22 MB / 0.8786 GB, free: 4.75 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007203/0.9716, allocations: 358.9 kB / 0.879 GB, free: 4.379 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001872/0.9718, allocations: 32 kB / 0.879 GB, free: 4.348 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001004/0.9728, allocations: 51.97 kB / 0.879 GB, free: 4.297 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000136/0.973, allocations: 101.9 kB / 0.8791 GB, free: 4.207 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.799e-05/0.9731, allocations: 59.97 kB / 0.8792 GB, free: 4.148 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001116/0.9742, allocations: 0.849 MB / 0.88 GB, free: 3.301 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.473e-06/0.9742, allocations: 112 / 0.88 GB, free: 3.301 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001425/0.9756, allocations: 435.9 kB / 0.8804 GB, free: 2.875 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.0005381/0.9762, allocations: 235.4 kB / 0.8807 GB, free: 2.66 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001963/0.9782, allocations: 1.253 MB / 0.8819 GB, free: 1.465 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 7.093e-06/0.9782, allocations: 8 kB / 0.8819 GB, free: 1.457 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0007183/0.9789, allocations: 0.5419 MB / 0.8824 GB, free: 0.957 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003498/0.9824, allocations: 0.9482 MB / 0.8834 GB, free: 60 kB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004629/0.987, allocations: 3.366 MB / 0.8866 GB, free: 12.55 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009165/0.988, allocations: 1.372 MB / 0.888 GB, free: 11.15 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.00131/0.9893, allocations: 385.3 kB / 0.8884 GB, free: 10.77 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003747/0.9897, allocations: 131.4 kB / 0.8885 GB, free: 10.64 MB / 0.6387 GB Notification: Performance of SimCode: time 4.11e-07/0.9897, allocations: 4 kB / 0.8885 GB, free: 10.64 MB / 0.6387 GB Notification: Performance of Templates: time 0.0458/1.035, allocations: 30.42 MB / 0.9182 GB, free: 12.64 MB / 0.67 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 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1)