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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001934/0.001934, allocations: 173.7 kB / 7.458 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6072/0.6072, allocations: 133.5 MB / 141.4 MB, free: 15.71 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.153/1.153, allocations: 221.3 MB / 395 MB, free: 10.18 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008661/0.0008661, allocations: 105 kB / 477.8 MB, free: 10.82 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.312e-06/6.332e-06, allocations: 3.406 kB / 0.5528 GB, free: 89.19 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1171, allocations: 82.29 MB / 0.6332 GB, free: 14.12 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.843/2.96, allocations: 1.893 GB / 2.526 GB, free: 59.85 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001941/2.961, allocations: 83.95 kB / 2.526 GB, free: 59.77 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.782/5.742, allocations: 1.099 GB / 3.625 GB, free: 7.367 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.000114/5.742, allocations: 59.59 kB / 3.625 GB, free: 7.312 MB / 0.698 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.003623/5.746, allocations: 1.878 MB / 3.626 GB, free: 5.387 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 2.935e-05/5.746, allocations: 11.31 kB / 3.626 GB, free: 5.379 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002926/5.749, allocations: 0.5206 MB / 3.627 GB, free: 4.855 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003139/5.752, allocations: 1.596 MB / 3.628 GB, free: 3.203 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.01e-05/5.752, allocations: 52 kB / 3.629 GB, free: 3.152 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001962/5.752, allocations: 91.91 kB / 3.629 GB, free: 3.062 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001993/5.754, allocations: 1.228 MB / 3.63 GB, free: 1.832 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002256/5.757, allocations: 1.502 MB / 3.631 GB, free: 224 kB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.666e-05/5.757, allocations: 4 kB / 3.631 GB, free: 220 kB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001154/5.757, allocations: 7.172 kB / 3.631 GB, free: 216 kB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-05/5.757, allocations: 54.53 kB / 3.631 GB, free: 160 kB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1973/5.954, allocations: 7.145 MB / 3.638 GB, free: 163.3 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007971/5.955, allocations: 0.7381 MB / 3.639 GB, free: 163.2 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006471/5.956, allocations: 0.6543 MB / 3.64 GB, free: 163.2 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000185/5.956, allocations: 120.6 kB / 3.64 GB, free: 163.1 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.6e-05/5.956, allocations: 53.16 kB / 3.64 GB, free: 163 MB / 0.698 GB Notification: Performance of pre-optimization done (n=106): time 2.675e-06/5.956, allocations: 3.438 kB / 3.64 GB, free: 163 MB / 0.698 GB Notification: Performance of matching and sorting (n=112): time 0.005088/5.961, allocations: 3.616 MB / 3.643 GB, free: 161.8 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.127e-05/5.961, allocations: 174 kB / 3.644 GB, free: 161.6 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007263/5.962, allocations: 0.7877 MB / 3.644 GB, free: 161.4 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.098e-05/5.962, allocations: 28.55 kB / 3.644 GB, free: 161.4 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001761/5.962, allocations: 0.536 MB / 3.645 GB, free: 161.2 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002384/5.962, allocations: 382.9 kB / 3.645 GB, free: 161 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.342e-05/5.962, allocations: 0 / 3.645 GB, free: 161 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.168e-05/5.962, allocations: 356.2 kB / 3.646 GB, free: 160.7 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005661/5.963, allocations: 489.9 kB / 3.646 GB, free: 160.7 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006687/5.964, allocations: 0.8008 MB / 3.647 GB, free: 160.3 MB / 0.698 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.01687/5.981, allocations: 4.141 MB / 3.651 GB, free: 160 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/5.981, allocations: 3.938 kB / 3.651 GB, free: 160 MB / 0.698 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.001805/5.982, allocations: 1.429 MB / 3.652 GB, free: 159.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/5.982, allocations: 7.531 kB / 3.652 GB, free: 159.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/5.982, allocations: 8.469 kB / 3.652 GB, free: 159.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.608e-05/5.982, allocations: 19.19 kB / 3.652 GB, free: 159.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001034/5.984, allocations: 280 kB / 3.653 GB, free: 159.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.206e-05/5.984, allocations: 20.09 kB / 3.653 GB, free: 159.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001247/5.985, allocations: 66.91 kB / 3.653 GB, free: 159.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001015/5.985, allocations: 55.97 kB / 3.653 GB, free: 159.8 MB / 0.698 GB Warning: Assuming redundant initial conditions for the following 3 initial equations: 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (163): * Single equations (assignments): 163 * 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.0001993/5.985, allocations: 150.9 kB / 3.653 GB, free: 159.7 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002352/5.985, allocations: 139 kB / 3.653 GB, free: 159.7 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00161/5.987, allocations: 1.17 MB / 3.654 GB, free: 159.6 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.016e-05/5.987, allocations: 14.27 kB / 3.654 GB, free: 159.6 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/5.987, allocations: 6.25 kB / 3.654 GB, free: 159.6 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001058/5.988, allocations: 1.161 MB / 3.655 GB, free: 159.2 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004296/5.992, allocations: 3.497 MB / 3.659 GB, free: 158.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.065e-06/5.992, allocations: 7.531 kB / 3.659 GB, free: 158.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001097/5.993, allocations: 259.6 kB / 3.659 GB, free: 158.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.269e-05/5.994, allocations: 14.94 kB / 3.659 GB, free: 158.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-05/5.994, allocations: 17.72 kB / 3.659 GB, free: 158.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-05/5.994, allocations: 24.7 kB / 3.659 GB, free: 158.3 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.933e-06/5.994, allocations: 18.97 kB / 3.659 GB, free: 158.3 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001997/5.996, allocations: 2.676 MB / 3.662 GB, free: 157 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004581/5.996, allocations: 340.5 kB / 3.662 GB, free: 156.8 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001905/5.996, allocations: 18.59 kB / 3.662 GB, free: 156.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001055/5.997, allocations: 68.03 kB / 3.662 GB, free: 156.8 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/5.997, allocations: 93.03 kB / 3.662 GB, free: 156.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.571e-05/5.998, allocations: 57.16 kB / 3.662 GB, free: 156.8 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.0005362/5.998, allocations: 0.5862 MB / 3.663 GB, free: 156.7 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001349/5.999, allocations: 0.5232 MB / 3.663 GB, free: 156.7 MB / 0.698 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 () * 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.002046/6.001, allocations: 2.319 MB / 3.666 GB, free: 156 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001305/6.003, allocations: 1.133 MB / 3.667 GB, free: 156 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/6.003, allocations: 4.625 kB / 3.667 GB, free: 156 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005316/6.003, allocations: 0.5175 MB / 3.667 GB, free: 156 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002566/6.006, allocations: 0.6768 MB / 3.668 GB, free: 156 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003531/6.009, allocations: 2.751 MB / 3.671 GB, free: 155.1 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009936/6.01, allocations: 1.528 MB / 3.672 GB, free: 154.4 MB / 0.698 GB Notification: Performance of SimCode: time 2.6e-07/6.01, allocations: 6.406 kB / 3.672 GB, free: 154.4 MB / 0.698 GB Notification: Performance of Templates: time 0.04298/6.053, allocations: 35.87 MB / 3.707 GB, free: 153.7 MB / 0.698 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)