Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance") translateModel(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.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/BuildSysPro 3.5.0/package.mo): time 0.6958/0.6958, allocations: 127.4 MB / 134.6 MB, free: 4.066 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00115/0.00115, allocations: 193.2 kB / 164.4 MB, free: 6.879 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.727/1.727, allocations: 205.1 MB / 399.1 MB, free: 6.141 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001109/0.001109, allocations: 90.55 kB / 476.3 MB, free: 8.898 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.162e-05/1.164e-05, allocations: 0 / 0.546 GB, free: 42.76 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.197/0.1971, allocations: 76.75 MB / 0.6209 GB, free: 13.94 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.052/5.249, allocations: 2.162 GB / 2.783 GB, free: 163.5 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002231/5.25, allocations: 97.19 kB / 2.783 GB, free: 163.4 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.923/9.173, allocations: 1.087 GB / 3.871 GB, free: 69.32 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0004661/9.173, allocations: 51.56 kB / 3.871 GB, free: 69.31 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 357 * Number of variables: 357 Notification: Performance of Generate backend data structure: time 0.008578/9.182, allocations: 1.908 MB / 3.873 GB, free: 68.19 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.371e-05/9.182, allocations: 9.25 kB / 3.873 GB, free: 68.19 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005049/9.187, allocations: 0.5281 MB / 3.873 GB, free: 68.06 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00544/9.193, allocations: 1.361 MB / 3.875 GB, free: 67.36 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001557/9.193, allocations: 44.78 kB / 3.875 GB, free: 67.36 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007141/9.193, allocations: 93.06 kB / 3.875 GB, free: 67.35 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003997/9.197, allocations: 1.252 MB / 3.876 GB, free: 66.9 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004606/9.202, allocations: 1.5 MB / 3.877 GB, free: 66.23 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.193e-05/9.202, allocations: 2.031 kB / 3.877 GB, free: 66.23 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002742/9.202, allocations: 3.031 kB / 3.877 GB, free: 66.23 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.139e-05/9.203, allocations: 51.28 kB / 3.878 GB, free: 66.22 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01219/9.215, allocations: 6.776 MB / 3.884 GB, free: 61.5 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001272/9.216, allocations: 0.72 MB / 3.885 GB, free: 61.23 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00104/9.217, allocations: 0.6255 MB / 3.885 GB, free: 60.98 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004757/9.218, allocations: 368.1 kB / 3.886 GB, free: 60.59 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.425e-05/9.218, allocations: 49.81 kB / 3.886 GB, free: 60.55 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=107): time 3.697e-06/9.218, allocations: 1.156 kB / 3.886 GB, free: 60.55 MB / 0.6667 GB Notification: Performance of matching and sorting (n=113): time 0.007919/9.226, allocations: 2.747 MB / 3.889 GB, free: 59.27 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.414e-05/9.226, allocations: 71.39 kB / 3.889 GB, free: 59.2 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002088/9.228, allocations: 0.7887 MB / 3.889 GB, free: 58.86 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0002114/9.228, allocations: 27.7 kB / 3.889 GB, free: 58.82 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005486/9.229, allocations: 0.5297 MB / 3.89 GB, free: 58.44 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005153/9.229, allocations: 395.4 kB / 3.89 GB, free: 58.13 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.946e-05/9.229, allocations: 1.188 kB / 3.89 GB, free: 58.13 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001422/9.229, allocations: 354.3 kB / 3.891 GB, free: 57.8 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001/9.23, allocations: 498.8 kB / 3.891 GB, free: 57.62 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001363/9.232, allocations: 0.8055 MB / 3.892 GB, free: 57.05 MB / 0.6667 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.02226/9.254, allocations: 4.19 MB / 3.896 GB, free: 55.62 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.761e-05/9.254, allocations: 2.312 kB / 3.896 GB, free: 55.62 MB / 0.6667 GB Notification: Performance of matching and sorting (n=167) (initialization): time 0.004084/9.258, allocations: 1.452 MB / 3.897 GB, free: 54.93 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.652e-05/9.258, allocations: 10.8 kB / 3.897 GB, free: 54.93 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.982e-05/9.258, allocations: 7.812 kB / 3.897 GB, free: 54.93 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.835e-05/9.258, allocations: 15.56 kB / 3.897 GB, free: 54.93 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001452/9.26, allocations: 292.3 kB / 3.898 GB, free: 54.76 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.031e-05/9.26, allocations: 19.94 kB / 3.898 GB, free: 54.74 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002123/9.262, allocations: 65.55 kB / 3.898 GB, free: 54.68 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002249/9.262, allocations: 63.97 kB / 3.898 GB, free: 54.62 MB / 0.6667 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: 36 * Number of states: 0 () * Number of discrete variables: 7 (senMasFra.i_x,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 (167): * Single equations (assignments): 166 * Array equations: 0 * Algorithm blocks: 1 * 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.0003916/9.263, allocations: 153.4 kB / 3.898 GB, free: 54.47 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005775/9.263, allocations: 138.3 kB / 3.898 GB, free: 54.33 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002335/9.266, allocations: 1.187 MB / 3.899 GB, free: 53.14 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.318e-05/9.266, allocations: 15.34 kB / 3.899 GB, free: 53.13 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.856e-06/9.266, allocations: 0 / 3.899 GB, free: 53.13 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001354/9.267, allocations: 1.18 MB / 3.9 GB, free: 51.88 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006845/9.274, allocations: 3.201 MB / 3.904 GB, free: 48.55 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.697e-05/9.274, allocations: 8 kB / 3.904 GB, free: 48.55 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001254/9.275, allocations: 259.1 kB / 3.904 GB, free: 48.3 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.764e-05/9.275, allocations: 19.91 kB / 3.904 GB, free: 48.28 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001015/9.275, allocations: 20 kB / 3.904 GB, free: 48.26 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.771e-05/9.275, allocations: 23.92 kB / 3.904 GB, free: 48.23 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.177e-05/9.275, allocations: 18.34 kB / 3.904 GB, free: 48.22 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003115/9.278, allocations: 2.632 MB / 3.907 GB, free: 45.27 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001155/9.28, allocations: 339.3 kB / 3.907 GB, free: 44.92 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005259/9.28, allocations: 19.98 kB / 3.907 GB, free: 44.9 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001806/9.282, allocations: 82.3 kB / 3.907 GB, free: 44.83 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001387/9.282, allocations: 91.59 kB / 3.907 GB, free: 44.74 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001423/9.282, allocations: 55.98 kB / 3.907 GB, free: 44.69 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.001164/9.283, allocations: 0.5882 MB / 3.908 GB, free: 44.09 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.003234/9.287, allocations: 0.5254 MB / 3.908 GB, free: 43.57 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * 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 (116): * Single equations (assignments): 116 * 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.00419/9.291, allocations: 2.392 MB / 3.911 GB, free: 41.49 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.00257/9.293, allocations: 1.167 MB / 3.912 GB, free: 40.32 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.507e-05/9.293, allocations: 448 / 3.912 GB, free: 40.32 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0008241/9.294, allocations: 0.5239 MB / 3.912 GB, free: 39.8 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004573/9.299, allocations: 0.6729 MB / 3.913 GB, free: 39.15 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006898/9.306, allocations: 2.74 MB / 3.915 GB, free: 36.27 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002255/9.308, allocations: 1.538 MB / 3.917 GB, free: 34.7 MB / 0.6667 GB Notification: Performance of SimCode: time 8.52e-07/9.308, allocations: 0 / 3.917 GB, free: 34.7 MB / 0.6667 GB Notification: Performance of Templates: time 0.4352/9.743, allocations: 36.7 MB / 3.953 GB, free: 141.2 MB / 0.6667 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1)