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/Complex 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) 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/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_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") [: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.003693/0.003693, allocations: 181 kB / 7.454 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6789/0.6789, allocations: 130.6 MB / 138.5 MB, free: 2.152 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.68/1.68, allocations: 221.3 MB / 391.4 MB, free: 13.04 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.001142/0.001142, allocations: 101.4 kB / 473.5 MB, free: 14.37 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.149e-06/5.179e-06, allocations: 3.406 kB / 0.5479 GB, free: 89.04 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1799/0.1799, allocations: 81.59 MB / 0.6276 GB, free: 18.18 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.615/4.795, allocations: 1.892 GB / 2.52 GB, free: 246.4 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002644/4.796, allocations: 85.25 kB / 2.52 GB, free: 246.4 MB / 0.6667 GB Notification: Performance of FrontEnd: time 3.869/8.664, allocations: 1.099 GB / 3.619 GB, free: 95.14 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002303/8.665, allocations: 55.83 kB / 3.619 GB, free: 95.14 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.0057/8.67, allocations: 1.877 MB / 3.621 GB, free: 94.45 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/8.67, allocations: 11 kB / 3.621 GB, free: 94.45 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004052/8.675, allocations: 0.5209 MB / 3.621 GB, free: 94.35 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004801/8.679, allocations: 1.584 MB / 3.623 GB, free: 94.04 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.284e-05/8.679, allocations: 44.25 kB / 3.623 GB, free: 94.04 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005469/8.68, allocations: 100.3 kB / 3.623 GB, free: 94.03 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002932/8.683, allocations: 1.233 MB / 3.624 GB, free: 94.02 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003359/8.686, allocations: 1.502 MB / 3.625 GB, free: 93.72 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.863e-05/8.686, allocations: 1.969 kB / 3.625 GB, free: 93.72 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002207/8.687, allocations: 9.484 kB / 3.625 GB, free: 93.72 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-05/8.687, allocations: 49.58 kB / 3.625 GB, free: 93.71 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009525/8.696, allocations: 7.136 MB / 3.632 GB, free: 89.8 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001061/8.697, allocations: 0.7405 MB / 3.633 GB, free: 89.67 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008332/8.698, allocations: 0.6512 MB / 3.634 GB, free: 89.62 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002449/8.698, allocations: 124.4 kB / 3.634 GB, free: 89.53 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.703e-05/8.698, allocations: 49.62 kB / 3.634 GB, free: 89.49 MB / 0.698 GB Notification: Performance of pre-optimization done (n=106): time 3.456e-06/8.698, allocations: 2.906 kB / 3.634 GB, free: 89.49 MB / 0.698 GB Notification: Performance of matching and sorting (n=112): time 0.008087/8.707, allocations: 3.62 MB / 3.638 GB, free: 88.24 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.312e-05/8.707, allocations: 173 kB / 3.638 GB, free: 88.05 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001336/8.708, allocations: 0.7951 MB / 3.638 GB, free: 87.91 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001445/8.708, allocations: 29.58 kB / 3.638 GB, free: 87.88 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003247/8.709, allocations: 0.5228 MB / 3.639 GB, free: 87.57 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004317/8.709, allocations: 388.5 kB / 3.639 GB, free: 87.31 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.422e-05/8.709, allocations: 0 / 3.639 GB, free: 87.31 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000115/8.709, allocations: 356.8 kB / 3.64 GB, free: 87.01 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007114/8.71, allocations: 493.1 kB / 3.64 GB, free: 87 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009045/8.711, allocations: 0.8023 MB / 3.641 GB, free: 86.64 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.01901/8.73, allocations: 4.141 MB / 3.645 GB, free: 86.33 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.649e-06/8.73, allocations: 3.781 kB / 3.645 GB, free: 86.33 MB / 0.698 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.002621/8.732, allocations: 1.43 MB / 3.646 GB, free: 86.21 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/8.733, allocations: 10.7 kB / 3.646 GB, free: 86.21 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.792e-05/8.733, allocations: 7.094 kB / 3.646 GB, free: 86.21 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.482e-05/8.733, allocations: 15.62 kB / 3.646 GB, free: 86.21 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001162/8.734, allocations: 276.9 kB / 3.647 GB, free: 86.21 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.548e-05/8.734, allocations: 17.78 kB / 3.647 GB, free: 86.21 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001735/8.736, allocations: 73.7 kB / 3.647 GB, free: 86.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001712/8.736, allocations: 58.36 kB / 3.647 GB, free: 86.2 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.0003025/8.736, allocations: 148 kB / 3.647 GB, free: 86.08 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000459/8.736, allocations: 139.8 kB / 3.647 GB, free: 86.01 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002025/8.739, allocations: 1.17 MB / 3.648 GB, free: 85.93 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.319e-05/8.739, allocations: 14.81 kB / 3.648 GB, free: 85.93 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.094e-06/8.739, allocations: 0 / 3.648 GB, free: 85.93 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001273/8.74, allocations: 1.169 MB / 3.649 GB, free: 85.55 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006456/8.746, allocations: 3.502 MB / 3.653 GB, free: 84.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.525e-05/8.746, allocations: 10.59 kB / 3.653 GB, free: 84.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001267/8.748, allocations: 254.3 kB / 3.653 GB, free: 84.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.493e-05/8.748, allocations: 15.59 kB / 3.653 GB, free: 84.6 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001003/8.748, allocations: 30.53 kB / 3.653 GB, free: 84.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.449e-05/8.748, allocations: 20.84 kB / 3.653 GB, free: 84.6 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.271e-05/8.748, allocations: 20.44 kB / 3.653 GB, free: 84.6 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003042/8.751, allocations: 2.669 MB / 3.656 GB, free: 83.3 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001166/8.752, allocations: 335.7 kB / 3.656 GB, free: 83.13 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00045/8.753, allocations: 15.62 kB / 3.656 GB, free: 83.13 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001659/8.754, allocations: 71.8 kB / 3.656 GB, free: 83.12 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001541/8.754, allocations: 92.59 kB / 3.656 GB, free: 83.12 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001257/8.754, allocations: 52.02 kB / 3.656 GB, free: 83.12 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.001295/8.756, allocations: 0.5871 MB / 3.657 GB, free: 83.01 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003039/8.759, allocations: 0.5268 MB / 3.657 GB, free: 83 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.003532/8.762, allocations: 2.315 MB / 3.66 GB, free: 82.31 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002173/8.765, allocations: 1.135 MB / 3.661 GB, free: 82.3 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.327e-05/8.765, allocations: 7.625 kB / 3.661 GB, free: 82.29 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007756/8.765, allocations: 0.5262 MB / 3.661 GB, free: 82.29 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003948/8.769, allocations: 0.6776 MB / 3.662 GB, free: 82.27 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00602/8.775, allocations: 2.732 MB / 3.665 GB, free: 81.36 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001943/8.777, allocations: 1.53 MB / 3.666 GB, free: 80.63 MB / 0.698 GB Notification: Performance of SimCode: time 7.41e-07/8.777, allocations: 3.906 kB / 3.666 GB, free: 80.63 MB / 0.698 GB Notification: Performance of Templates: time 0.06393/8.841, allocations: 35.87 MB / 3.701 GB, free: 78.74 MB / 0.698 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 -lv LOG_STATS > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1)