Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance") translateModel(IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001503/0.001503, allocations: 192.3 kB / 7.805 MB, free: 2.484 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.467/0.467, allocations: 90.86 MB / 99.07 MB, free: 14.91 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.258/1.258, allocations: 221.4 MB / 342.8 MB, free: 5.102 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001102/0.001103, allocations: 95.25 kB / 415.5 MB, free: 6.387 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 7.174e-06/7.194e-06, allocations: 0 / 493.9 MB, free: 8.051 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4257/0.4258, allocations: 72.31 MB / 0.5529 GB, free: 73.26 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.177/4.602, allocations: 1.883 GB / 2.436 GB, free: 181.8 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002035/4.603, allocations: 87.95 kB / 2.436 GB, free: 181.8 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.473/8.075, allocations: 1.112 GB / 3.548 GB, free: 79.02 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001362/8.075, allocations: 55.39 kB / 3.549 GB, free: 79.02 MB / 0.6198 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.003769/8.079, allocations: 1.886 MB / 3.55 GB, free: 78.44 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/8.079, allocations: 9.906 kB / 3.55 GB, free: 78.44 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002974/8.082, allocations: 0.5187 MB / 3.551 GB, free: 78.34 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003181/8.085, allocations: 1.59 MB / 3.552 GB, free: 78.03 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.968e-05/8.086, allocations: 42.69 kB / 3.553 GB, free: 78.03 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001776/8.086, allocations: 97.47 kB / 3.553 GB, free: 78.02 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001938/8.088, allocations: 1.235 MB / 3.554 GB, free: 78.02 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002124/8.09, allocations: 1.511 MB / 3.555 GB, free: 77.71 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.695e-05/8.09, allocations: 5.828 kB / 3.555 GB, free: 77.71 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000115/8.09, allocations: 7.188 kB / 3.555 GB, free: 77.71 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.655e-05/8.09, allocations: 56.38 kB / 3.555 GB, free: 77.71 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007131/8.097, allocations: 7.332 MB / 3.563 GB, free: 73.66 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008786/8.098, allocations: 0.7305 MB / 3.563 GB, free: 73.55 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007311/8.099, allocations: 0.6497 MB / 3.564 GB, free: 73.5 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002061/8.099, allocations: 115.2 kB / 3.564 GB, free: 73.4 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.478e-05/8.099, allocations: 59.62 kB / 3.564 GB, free: 73.36 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=106): time 2.795e-06/8.099, allocations: 0 / 3.564 GB, free: 73.36 MB / 0.6198 GB Notification: Performance of matching and sorting (n=112): time 0.006054/8.105, allocations: 3.618 MB / 3.568 GB, free: 72.11 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.02e-05/8.105, allocations: 174.2 kB / 3.568 GB, free: 71.92 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008608/8.106, allocations: 0.7907 MB / 3.568 GB, free: 71.78 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.816e-05/8.106, allocations: 29.05 kB / 3.569 GB, free: 71.75 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002385/8.106, allocations: 0.5356 MB / 3.569 GB, free: 71.51 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002772/8.107, allocations: 381.8 kB / 3.569 GB, free: 71.31 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.802e-05/8.107, allocations: 0 / 3.569 GB, free: 71.31 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.63e-05/8.107, allocations: 354.3 kB / 3.57 GB, free: 71 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006812/8.107, allocations: 489.8 kB / 3.57 GB, free: 71 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007701/8.108, allocations: 0.8053 MB / 3.571 GB, free: 70.64 MB / 0.6198 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.01891/8.127, allocations: 4.166 MB / 3.575 GB, free: 70.33 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.411e-05/8.127, allocations: 3.844 kB / 3.575 GB, free: 70.33 MB / 0.6198 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.002478/8.13, allocations: 1.433 MB / 3.576 GB, free: 70.21 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/8.13, allocations: 6.438 kB / 3.576 GB, free: 70.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.496e-05/8.13, allocations: 7.594 kB / 3.576 GB, free: 70.21 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.049e-05/8.13, allocations: 15.16 kB / 3.576 GB, free: 70.21 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001148/8.131, allocations: 288.5 kB / 3.577 GB, free: 70.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.95e-05/8.131, allocations: 19.2 kB / 3.577 GB, free: 70.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001583/8.133, allocations: 82.86 kB / 3.577 GB, free: 70.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000122/8.133, allocations: 62.47 kB / 3.577 GB, free: 70.2 MB / 0.6198 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.0002637/8.133, allocations: 154.2 kB / 3.577 GB, free: 70.09 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002711/8.133, allocations: 137.6 kB / 3.577 GB, free: 70.02 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002069/8.135, allocations: 1.176 MB / 3.578 GB, free: 69.95 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.151e-05/8.135, allocations: 11.34 kB / 3.578 GB, free: 69.95 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/8.135, allocations: 0 / 3.578 GB, free: 69.95 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001255/8.137, allocations: 1.166 MB / 3.58 GB, free: 69.58 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005155/8.142, allocations: 3.512 MB / 3.583 GB, free: 68.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.044e-05/8.142, allocations: 11.72 kB / 3.583 GB, free: 68.63 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001145/8.143, allocations: 239.6 kB / 3.583 GB, free: 68.63 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.798e-05/8.143, allocations: 16.53 kB / 3.583 GB, free: 68.63 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.451e-05/8.143, allocations: 26.89 kB / 3.583 GB, free: 68.63 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-05/8.143, allocations: 23.69 kB / 3.583 GB, free: 68.63 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-05/8.143, allocations: 17.97 kB / 3.583 GB, free: 68.63 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002433/8.146, allocations: 2.574 MB / 3.586 GB, free: 67.32 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006129/8.146, allocations: 336 kB / 3.586 GB, free: 67.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002009/8.146, allocations: 22.33 kB / 3.586 GB, free: 67.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001161/8.148, allocations: 68.36 kB / 3.586 GB, free: 67.15 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001263/8.148, allocations: 89.97 kB / 3.586 GB, free: 67.14 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.905e-05/8.148, allocations: 51.19 kB / 3.586 GB, free: 67.14 MB / 0.6198 GB Notification: Performance of sort global known variables: time 0.0007262/8.149, allocations: 0.5906 MB / 3.587 GB, free: 67.03 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001916/8.15, allocations: 0.523 MB / 3.587 GB, free: 67.03 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 44 * Number of states: 12 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol2.dynBal.medium.Xi[1],vol2.dynBal.U,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.002782/8.153, allocations: 2.325 MB / 3.59 GB, free: 66.38 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001799/8.155, allocations: 1.14 MB / 3.591 GB, free: 66.37 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/8.155, allocations: 0 / 3.591 GB, free: 66.37 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0006475/8.156, allocations: 0.522 MB / 3.591 GB, free: 66.37 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003208/8.159, allocations: 0.6719 MB / 3.592 GB, free: 66.36 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004827/8.164, allocations: 2.751 MB / 3.595 GB, free: 65.44 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001388/8.165, allocations: 1.53 MB / 3.596 GB, free: 80.71 MB / 0.6355 GB Notification: Performance of SimCode: time 1.062e-06/8.165, allocations: 6.094 kB / 3.596 GB, free: 80.71 MB / 0.6355 GB Notification: Performance of Templates: time 0.05261/8.218, allocations: 35.92 MB / 3.631 GB, free: 79.77 MB / 0.6355 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.makefile (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.sim & ./IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1)