Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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/BuildingSystems 2.0.0-master/package.mo): time 0.7597/0.7597, allocations: 141.8 MB / 149.1 MB, free: 3.578 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00122/0.001221, allocations: 180.9 kB / 181.9 MB, free: 15.35 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 221.4 MB / 436 MB, free: 8.469 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 99.38 kB / 0.507 GB, free: 24.32 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001983/0.001983, allocations: 273.9 kB / 0.5884 GB, free: 11.55 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 1.045e-05/1.059e-05, allocations: 0 / 0.6759 GB, free: 1.914 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5236/0.5236, allocations: 82.77 MB / 0.7567 GB, free: 112.1 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.116/4.64, allocations: 1.879 GB / 2.636 GB, free: 79.71 MB / 0.6825 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002576/4.64, allocations: 83.95 kB / 2.636 GB, free: 79.63 MB / 0.6825 GB Notification: Performance of FrontEnd: time 1.919/6.56, allocations: 463.2 MB / 3.088 GB, free: 135.3 MB / 0.6825 GB Notification: Performance of Transformations before backend: time 0.0001495/6.56, allocations: 27.94 kB / 3.088 GB, free: 135.2 MB / 0.6825 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.004227/6.564, allocations: 1.235 MB / 3.089 GB, free: 134 MB / 0.6825 GB Notification: Performance of prepare preOptimizeDAE: time 5.172e-05/6.564, allocations: 8.031 kB / 3.089 GB, free: 134 MB / 0.6825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002734/6.567, allocations: 336.5 kB / 3.09 GB, free: 133.7 MB / 0.6825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002607/6.569, allocations: 0.8416 MB / 3.09 GB, free: 132.8 MB / 0.6825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.954e-05/6.57, allocations: 31.59 kB / 3.09 GB, free: 132.8 MB / 0.6825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000316/6.57, allocations: 52 kB / 3.091 GB, free: 132.7 MB / 0.6825 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001797/6.572, allocations: 0.7302 MB / 3.091 GB, free: 132 MB / 0.6825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001952/6.574, allocations: 0.8453 MB / 3.092 GB, free: 131.1 MB / 0.6825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.191e-05/6.574, allocations: 0 / 3.092 GB, free: 131.1 MB / 0.6825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001369/6.574, allocations: 4 kB / 3.092 GB, free: 131.1 MB / 0.6825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.415e-05/6.574, allocations: 33.98 kB / 3.092 GB, free: 131.1 MB / 0.6825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00635/6.58, allocations: 3.293 MB / 3.095 GB, free: 127.7 MB / 0.6825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007178/6.581, allocations: 470.7 kB / 3.096 GB, free: 127.2 MB / 0.6825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003422/6.581, allocations: 262.5 kB / 3.096 GB, free: 126.9 MB / 0.6825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002252/6.582, allocations: 104.1 kB / 3.096 GB, free: 126.8 MB / 0.6825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.488e-05/6.582, allocations: 43 kB / 3.096 GB, free: 126.8 MB / 0.6825 GB Notification: Performance of pre-optimization done (n=47): time 3.156e-06/6.582, allocations: 4 kB / 3.096 GB, free: 126.8 MB / 0.6825 GB Notification: Performance of matching and sorting (n=49): time 0.003562/6.585, allocations: 1.336 MB / 3.097 GB, free: 125.4 MB / 0.6825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.893e-05/6.585, allocations: 59.25 kB / 3.098 GB, free: 125.3 MB / 0.6825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007778/6.586, allocations: 0.5191 MB / 3.098 GB, free: 124.8 MB / 0.6825 GB Notification: Performance of collectPreVariables (initialization): time 8.51e-05/6.586, allocations: 29.7 kB / 3.098 GB, free: 124.8 MB / 0.6825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001989/6.586, allocations: 390.5 kB / 3.098 GB, free: 124.4 MB / 0.6825 GB Notification: Performance of collectInitialBindings (initialization): time 0.000163/6.587, allocations: 169.5 kB / 3.099 GB, free: 124.2 MB / 0.6825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.975e-05/6.587, allocations: 0 / 3.099 GB, free: 124.2 MB / 0.6825 GB Notification: Performance of setup shared object (initialization): time 0.0001253/6.587, allocations: 378.8 kB / 3.099 GB, free: 123.8 MB / 0.6825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002932/6.587, allocations: 216.9 kB / 3.099 GB, free: 123.6 MB / 0.6825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003581/6.587, allocations: 348.9 kB / 3.1 GB, free: 123.2 MB / 0.6825 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.002609/6.59, allocations: 0.9308 MB / 3.1 GB, free: 122.3 MB / 0.6825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/6.59, allocations: 0 / 3.1 GB, free: 122.3 MB / 0.6825 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001105/6.591, allocations: 0.6882 MB / 3.101 GB, free: 121.6 MB / 0.6825 GB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/6.591, allocations: 13.84 kB / 3.101 GB, free: 121.6 MB / 0.6825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.291e-05/6.591, allocations: 4 kB / 3.101 GB, free: 121.6 MB / 0.6825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002022/6.591, allocations: 53.69 kB / 3.101 GB, free: 121.5 MB / 0.6825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006219/6.592, allocations: 143.4 kB / 3.101 GB, free: 121.4 MB / 0.6825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001926/6.594, allocations: 2.637 MB / 3.104 GB, free: 118.5 MB / 0.6825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001093/6.595, allocations: 47.25 kB / 3.104 GB, free: 118.5 MB / 0.6825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.964e-05/6.595, allocations: 27.98 kB / 3.104 GB, free: 118.5 MB / 0.6825 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.0002218/6.595, allocations: 119.5 kB / 3.104 GB, free: 118.3 MB / 0.6825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002208/6.596, allocations: 75.06 kB / 3.104 GB, free: 118.3 MB / 0.6825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002387/6.596, allocations: 83.06 kB / 3.104 GB, free: 118.2 MB / 0.6825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/6.596, allocations: 7.938 kB / 3.104 GB, free: 118.2 MB / 0.6825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/6.596, allocations: 0 / 3.104 GB, free: 118.2 MB / 0.6825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007723/6.597, allocations: 0.7715 MB / 3.105 GB, free: 117.3 MB / 0.6825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002766/6.599, allocations: 1.572 MB / 3.107 GB, free: 115.7 MB / 0.6825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.802e-06/6.599, allocations: 4 kB / 3.107 GB, free: 115.7 MB / 0.6825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005479/6.6, allocations: 107.9 kB / 3.107 GB, free: 115.6 MB / 0.6825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001361/6.6, allocations: 36.84 kB / 3.107 GB, free: 115.5 MB / 0.6825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.34e-05/6.6, allocations: 11.94 kB / 3.107 GB, free: 115.5 MB / 0.6825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008921/6.601, allocations: 1.349 MB / 3.108 GB, free: 114.1 MB / 0.6825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.764e-06/6.601, allocations: 7.938 kB / 3.108 GB, free: 114.1 MB / 0.6825 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001231/6.602, allocations: 1.12 MB / 3.109 GB, free: 112.8 MB / 0.6825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004989/6.603, allocations: 223.4 kB / 3.109 GB, free: 112.6 MB / 0.6825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000189/6.603, allocations: 7.906 kB / 3.109 GB, free: 112.6 MB / 0.6825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009095/6.604, allocations: 51.42 kB / 3.109 GB, free: 112.5 MB / 0.6825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001122/6.604, allocations: 35.52 kB / 3.109 GB, free: 112.5 MB / 0.6825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.904e-05/6.604, allocations: 31.98 kB / 3.109 GB, free: 112.5 MB / 0.6825 GB Notification: Performance of sort global known variables: time 0.0005267/6.605, allocations: 403.2 kB / 3.11 GB, free: 112.1 MB / 0.6825 GB Notification: Performance of remove unused functions: time 0.0016/6.606, allocations: 356 kB / 3.11 GB, free: 111.7 MB / 0.6825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.U,volDyn.dynBal.mXi[1]) * 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.002378/6.609, allocations: 1.443 MB / 3.112 GB, free: 110.5 MB / 0.6825 GB Notification: Performance of simCode: created initialization part: time 0.001176/6.61, allocations: 0.6971 MB / 3.112 GB, free: 109.7 MB / 0.6825 GB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/6.61, allocations: 4 kB / 3.112 GB, free: 109.7 MB / 0.6825 GB Notification: Performance of simCode: created simulation system equations: time 0.0004105/6.61, allocations: 347 kB / 3.113 GB, free: 109.4 MB / 0.6825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002271/6.613, allocations: 441.3 kB / 3.113 GB, free: 109 MB / 0.6825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003156/6.616, allocations: 1.318 MB / 3.114 GB, free: 107.6 MB / 0.6825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001057/6.617, allocations: 1.171 MB / 3.115 GB, free: 106.4 MB / 0.6825 GB Notification: Performance of SimCode: time 9.72e-07/6.617, allocations: 0 / 3.115 GB, free: 106.4 MB / 0.6825 GB Notification: Performance of Templates: time 0.03679/6.654, allocations: 22.43 MB / 3.137 GB, free: 84.34 MB / 0.6825 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1)