Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.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.MixingVolumeMoistureReverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow") translateModel(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow") [: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.001343/0.001343, allocations: 189.5 kB / 7.801 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4618/0.4618, allocations: 90.84 MB / 99.06 MB, free: 14.95 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.205/1.205, allocations: 221.4 MB / 342.7 MB, free: 5.195 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.0008753/0.0008754, allocations: 94.66 kB / 415.5 MB, free: 9.836 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 6.993e-06/7.143e-06, allocations: 0 / 493.9 MB, free: 11.57 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3376/0.3376, allocations: 72.3 MB / 0.5529 GB, free: 44.8 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.572/3.91, allocations: 1.872 GB / 2.425 GB, free: 174.8 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002211/3.91, allocations: 89.55 kB / 2.425 GB, free: 174.7 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.606/5.516, allocations: 468.4 MB / 2.882 GB, free: 119.4 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001275/5.516, allocations: 31.05 kB / 2.883 GB, free: 119.4 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.003674/5.519, allocations: 1.248 MB / 2.884 GB, free: 118.8 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/5.52, allocations: 6.75 kB / 2.884 GB, free: 118.8 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002716/5.522, allocations: 329.8 kB / 2.884 GB, free: 118.7 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002281/5.525, allocations: 0.8625 MB / 2.885 GB, free: 118.4 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.014e-05/5.525, allocations: 32.25 kB / 2.885 GB, free: 118.4 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002501/5.525, allocations: 54.56 kB / 2.885 GB, free: 118.4 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001668/5.527, allocations: 0.7373 MB / 2.886 GB, free: 118.4 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001767/5.528, allocations: 0.8449 MB / 2.887 GB, free: 118.4 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.831e-05/5.528, allocations: 0 / 2.887 GB, free: 118.4 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001134/5.528, allocations: 1.188 kB / 2.887 GB, free: 118.4 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.932e-05/5.529, allocations: 33.91 kB / 2.887 GB, free: 118.4 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005612/5.534, allocations: 3.406 MB / 2.89 GB, free: 117.1 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004298/5.535, allocations: 294.9 kB / 2.89 GB, free: 117.1 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003231/5.535, allocations: 258.4 kB / 2.89 GB, free: 117.1 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002122/5.535, allocations: 110.5 kB / 2.891 GB, free: 117 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.508e-05/5.535, allocations: 43.81 kB / 2.891 GB, free: 116.9 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=47): time 2.995e-06/5.535, allocations: 0 / 2.891 GB, free: 116.9 MB / 0.6042 GB Notification: Performance of matching and sorting (n=49): time 0.00292/5.538, allocations: 1.344 MB / 2.892 GB, free: 116.5 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.359e-05/5.538, allocations: 55.12 kB / 2.892 GB, free: 116.4 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006157/5.539, allocations: 0.528 MB / 2.892 GB, free: 116.3 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.292e-05/5.539, allocations: 25.7 kB / 2.892 GB, free: 116.3 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000184/5.539, allocations: 388.6 kB / 2.893 GB, free: 116.1 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001309/5.539, allocations: 169.8 kB / 2.893 GB, free: 116 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.64e-05/5.539, allocations: 3.062 kB / 2.893 GB, free: 116 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001065/5.539, allocations: 376.8 kB / 2.893 GB, free: 115.7 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002798/5.54, allocations: 216 kB / 2.894 GB, free: 115.7 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000339/5.54, allocations: 355.4 kB / 2.894 GB, free: 115.5 MB / 0.6042 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002557/5.543, allocations: 0.9407 MB / 2.895 GB, free: 115.4 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/5.543, allocations: 0 / 2.895 GB, free: 115.4 MB / 0.6042 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001049/5.544, allocations: 0.6855 MB / 2.895 GB, free: 115.3 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/5.544, allocations: 11.12 kB / 2.895 GB, free: 115.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/5.544, allocations: 3.875 kB / 2.896 GB, free: 115.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001819/5.544, allocations: 60.31 kB / 2.896 GB, free: 115.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005946/5.544, allocations: 133.9 kB / 2.896 GB, free: 115.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001674/5.546, allocations: 2.632 MB / 2.898 GB, free: 112.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009671/5.547, allocations: 59.23 kB / 2.898 GB, free: 112.9 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.211e-05/5.547, allocations: 26.16 kB / 2.898 GB, free: 112.9 MB / 0.6042 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: volDyn.dynBal.medium.p = volDyn.dynBal.p_start Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 69 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001755/5.547, allocations: 121.5 kB / 2.898 GB, free: 112.8 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001239/5.547, allocations: 79.34 kB / 2.899 GB, free: 112.8 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001957/5.548, allocations: 81.48 kB / 2.899 GB, free: 112.7 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/5.548, allocations: 7.766 kB / 2.899 GB, free: 112.7 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/5.548, allocations: 3 kB / 2.899 GB, free: 112.7 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006974/5.548, allocations: 0.7705 MB / 2.899 GB, free: 112.3 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00217/5.551, allocations: 1.564 MB / 2.901 GB, free: 111.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.838e-06/5.551, allocations: 3.219 kB / 2.901 GB, free: 111.9 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005498/5.551, allocations: 113.7 kB / 2.901 GB, free: 111.9 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.908e-05/5.551, allocations: 40.25 kB / 2.901 GB, free: 111.9 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.161e-05/5.551, allocations: 10.38 kB / 2.901 GB, free: 111.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007843/5.552, allocations: 1.34 MB / 2.902 GB, free: 110.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/5.552, allocations: 6.594 kB / 2.902 GB, free: 110.7 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001075/5.553, allocations: 1.099 MB / 2.903 GB, free: 110.2 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003069/5.554, allocations: 220.8 kB / 2.904 GB, free: 110 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001085/5.554, allocations: 7.406 kB / 2.904 GB, free: 110 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007405/5.554, allocations: 54.28 kB / 2.904 GB, free: 110 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.394e-05/5.554, allocations: 29.67 kB / 2.904 GB, free: 110 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.716e-05/5.555, allocations: 34.38 kB / 2.904 GB, free: 110 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0004199/5.555, allocations: 416.2 kB / 2.904 GB, free: 109.9 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001281/5.556, allocations: 355.4 kB / 2.905 GB, free: 109.9 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 46 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.00169/5.558, allocations: 1.43 MB / 2.906 GB, free: 109.6 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0009433/5.559, allocations: 0.705 MB / 2.907 GB, free: 109.4 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/5.559, allocations: 2.625 kB / 2.907 GB, free: 109.4 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003525/5.559, allocations: 347 kB / 2.907 GB, free: 109.3 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001941/5.561, allocations: 440.8 kB / 2.907 GB, free: 109.3 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00257/5.564, allocations: 1.363 MB / 2.909 GB, free: 108.8 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000716/5.565, allocations: 1.176 MB / 2.91 GB, free: 108.1 MB / 0.6042 GB Notification: Performance of SimCode: time 6.01e-07/5.565, allocations: 3.625 kB / 2.91 GB, free: 108.1 MB / 0.6042 GB Notification: Performance of Templates: time 0.03403/5.599, allocations: 22.44 MB / 2.932 GB, free: 107.1 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.makefile (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.sim & ./IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1)