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-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_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.0008238/0.0008238, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0008825/0.0008826, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.209/1.209, allocations: 223.2 MB / 239.9 MB, free: 5.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.873/0.873, allocations: 135.2 MB / 426.2 MB, free: 14.32 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003011/0.0003011, allocations: 8 kB / 0.5068 GB, free: 5.25 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.1389, allocations: 82.31 MB / 0.5872 GB, free: 3.113 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.3998/0.5388, allocations: 183.3 MB / 0.7661 GB, free: 5.277 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01467/0.5535, allocations: 11.22 MB / 0.7771 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001603/0.5552, allocations: 67.56 kB / 0.7772 GB, free: 9.977 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.00244/0.5576, allocations: 0.8941 MB / 0.778 GB, free: 9.078 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.007773/0.5654, allocations: 2.614 MB / 0.7806 GB, free: 6.457 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004272/0.5697, allocations: 1.576 MB / 0.7821 GB, free: 4.914 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004492/0.5742, allocations: 2.567 MB / 0.7846 GB, free: 2.344 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001709/0.5759, allocations: 1.312 MB / 0.7859 GB, free: 1.012 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003236/0.5792, allocations: 1.655 MB / 0.7875 GB, free: 15.35 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001366/0.5806, allocations: 1.008 MB / 0.7885 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001793/0.5807, allocations: 80 kB / 0.7886 GB, free: 14.26 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002286/0.583, allocations: 0.9594 MB / 0.7895 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005004/0.5836, allocations: 0.5336 MB / 0.79 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000407/0.584, allocations: 388.7 kB / 0.7904 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002102/0.5861, allocations: 2.143 MB / 0.7925 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.5861, allocations: 0 / 0.7925 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.282e-06/0.5861, allocations: 0 / 0.7925 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.55e-05/0.5861, allocations: 0 / 0.7925 GB, free: 10.23 MB / 0.6075 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.002893/0.589, allocations: 1.873 MB / 0.7943 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.5891, allocations: 12.03 kB / 0.7944 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002719/0.5918, allocations: 0.4972 MB / 0.7948 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001911/0.5937, allocations: 1.205 MB / 0.796 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.526e-05/0.5938, allocations: 106.8 kB / 0.7961 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001912/0.594, allocations: 156 kB / 0.7963 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002298/0.5963, allocations: 1.729 MB / 0.798 GB, free: 4.434 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.04e-05/0.5963, allocations: 7.906 kB / 0.798 GB, free: 4.426 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001261/0.5965, allocations: 60 kB / 0.798 GB, free: 4.367 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.375e-05/0.5965, allocations: 62.48 kB / 0.7981 GB, free: 4.305 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001941/0.5985, allocations: 1.38 MB / 0.7994 GB, free: 2.918 MB / 0.6075 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.00762/0.6061, allocations: 7.292 MB / 0.8065 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001306/0.6074, allocations: 1.019 MB / 0.8075 GB, free: 10.19 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 7.667e-05/0.6075, allocations: 21.14 kB / 0.8076 GB, free: 10.17 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.827e-05/0.6076, allocations: 63.48 kB / 0.8076 GB, free: 10.1 MB / 0.6231 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000962/0.6085, allocations: 294.6 kB / 0.8079 GB, free: 9.809 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=106): time 3.026e-06/0.6085, allocations: 0 / 0.8079 GB, free: 9.809 MB / 0.6231 GB Notification: Performance of matching and sorting (n=112): time 0.006159/0.6147, allocations: 4.302 MB / 0.8121 GB, free: 5.438 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.671e-05/0.6148, allocations: 175.2 kB / 0.8123 GB, free: 5.23 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001352/0.6162, allocations: 1.247 MB / 0.8135 GB, free: 3.973 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 8.383e-05/0.6162, allocations: 53.7 kB / 0.8135 GB, free: 3.914 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004795/0.6167, allocations: 0.7006 MB / 0.8142 GB, free: 3.207 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003077/0.617, allocations: 398.2 kB / 0.8146 GB, free: 2.812 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.768e-05/0.6171, allocations: 28 kB / 0.8146 GB, free: 2.785 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.6173, allocations: 354 kB / 0.815 GB, free: 2.434 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007207/0.618, allocations: 0.5153 MB / 0.8155 GB, free: 1.918 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009353/0.6189, allocations: 0.8323 MB / 0.8163 GB, free: 0.9609 MB / 0.6231 GB 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) 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: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.008598/0.6275, allocations: 3.463 MB / 0.8197 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.324e-05/0.6276, allocations: 4 kB / 0.8197 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.00225/0.6298, allocations: 1.588 MB / 0.8212 GB, free: 11.85 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.6298, allocations: 11.94 kB / 0.8212 GB, free: 11.84 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.25e-05/0.6299, allocations: 8 kB / 0.8212 GB, free: 11.83 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.282e-05/0.6299, allocations: 16 kB / 0.8213 GB, free: 11.82 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001054/0.631, allocations: 279.6 kB / 0.8215 GB, free: 11.54 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.95e-05/0.631, allocations: 28.41 kB / 0.8216 GB, free: 11.52 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001285/0.6323, allocations: 96.64 kB / 0.8216 GB, free: 11.42 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.878e-05/0.6324, allocations: 56.53 kB / 0.8217 GB, free: 11.37 MB / 0.6387 GB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization sytem: vol2.dynBal.medium.p = vol2.dynBal.p_start vol1.dynBal.medium.p = vol1.dynBal.p_start vol.dynBal.medium.p = vol.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006585/0.633, allocations: 435.3 kB / 0.8221 GB, free: 10.93 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002483/0.6333, allocations: 162 kB / 0.8223 GB, free: 10.77 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001836/0.6351, allocations: 1.263 MB / 0.8235 GB, free: 9.496 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.053e-05/0.6352, allocations: 12 kB / 0.8235 GB, free: 9.484 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/0.6352, allocations: 3.953 kB / 0.8235 GB, free: 9.48 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001322/0.6365, allocations: 1.221 MB / 0.8247 GB, free: 8.188 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005061/0.6416, allocations: 3.742 MB / 0.8284 GB, free: 4.25 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.979e-06/0.6416, allocations: 8 kB / 0.8284 GB, free: 4.242 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001071/0.6427, allocations: 251.6 kB / 0.8286 GB, free: 3.996 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.838e-05/0.6427, allocations: 19.98 kB / 0.8286 GB, free: 3.977 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-05/0.6428, allocations: 36.52 kB / 0.8287 GB, free: 3.941 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.381e-05/0.6428, allocations: 23.92 kB / 0.8287 GB, free: 3.918 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.136e-05/0.6428, allocations: 20.95 kB / 0.8287 GB, free: 3.898 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002809/0.6456, allocations: 2.857 MB / 0.8315 GB, free: 472 kB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006679/0.6463, allocations: 359 kB / 0.8318 GB, free: 92 kB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001857/0.6465, allocations: 32 kB / 0.8319 GB, free: 60 kB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001062/0.6476, allocations: 93.28 kB / 0.832 GB, free: 15.97 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001245/0.6477, allocations: 104.3 kB / 0.8321 GB, free: 15.87 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.353e-05/0.6478, allocations: 52.86 kB / 0.8321 GB, free: 15.82 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.000958/0.6488, allocations: 0.8451 MB / 0.8329 GB, free: 14.97 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6488, allocations: 0 / 0.8329 GB, free: 14.97 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001319/0.6501, allocations: 428 kB / 0.8333 GB, free: 14.55 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004271/0.6505, allocations: 238.9 kB / 0.8336 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001703/0.6522, allocations: 1.204 MB / 0.8347 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.561e-06/0.6522, allocations: 4.5 kB / 0.8347 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0006746/0.6529, allocations: 0.5399 MB / 0.8353 GB, free: 12.58 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003471/0.6564, allocations: 0.8751 MB / 0.8361 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004858/0.6613, allocations: 4.016 MB / 0.8401 GB, free: 7.555 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001001/0.6623, allocations: 1.411 MB / 0.8414 GB, free: 6.117 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001343/0.6636, allocations: 377.9 kB / 0.8418 GB, free: 5.742 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003756/0.664, allocations: 131.4 kB / 0.8419 GB, free: 5.613 MB / 0.6544 GB Notification: Performance of SimCode: time 1.132e-06/0.664, allocations: 0 / 0.8419 GB, free: 5.613 MB / 0.6544 GB Notification: Performance of Templates: time 0.2667/0.9307, allocations: 27.76 MB / 0.869 GB, free: 207.2 MB / 0.67 GB make -j1 -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: