Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.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.CoupledVolumesGlycol47,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47") translateModel(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47") [: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.7685/0.7685, allocations: 127.4 MB / 134.6 MB, free: 4.09 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.001268/0.001268, allocations: 177.3 kB / 164.4 MB, free: 6.895 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.933/1.933, allocations: 205.1 MB / 399.1 MB, free: 6.086 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.001324/0.001323, allocations: 94.61 kB / 476.3 MB, free: 8.844 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.367e-05/1.377e-05, allocations: 4 kB / 0.546 GB, free: 42.77 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2065/0.2066, allocations: 76.74 MB / 0.6209 GB, free: 13.95 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.201/1.407, allocations: 485.4 MB / 1.095 GB, free: 15.8 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000273/1.408, allocations: 91.94 kB / 1.095 GB, free: 15.71 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.47/3.878, allocations: 0.5743 GB / 1.669 GB, free: 110.2 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001812/3.878, allocations: 17.22 kB / 1.669 GB, free: 110.2 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.007814/3.886, allocations: 1.549 MB / 1.671 GB, free: 109.5 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 7.676e-05/3.886, allocations: 7.406 kB / 1.671 GB, free: 109.5 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001687/3.887, allocations: 147 kB / 1.671 GB, free: 109.4 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06604/3.954, allocations: 30.87 MB / 1.701 GB, free: 108.3 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.56e-05/3.954, allocations: 18.56 kB / 1.701 GB, free: 108.3 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001767/3.954, allocations: 31.09 kB / 1.701 GB, free: 108.2 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000825/3.955, allocations: 281.6 kB / 1.701 GB, free: 108.2 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008887/3.956, allocations: 455 kB / 1.702 GB, free: 108.1 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.552e-05/3.956, allocations: 3.125 kB / 1.702 GB, free: 108.1 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.895e-05/3.956, allocations: 0 / 1.702 GB, free: 108.1 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.535e-05/3.956, allocations: 15.66 kB / 1.702 GB, free: 108.1 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003825/3.96, allocations: 2.843 MB / 1.705 GB, free: 106.2 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002527/3.96, allocations: 161.2 kB / 1.705 GB, free: 106.1 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001944/3.96, allocations: 112.8 kB / 1.705 GB, free: 106.1 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001166/3.961, allocations: 1.525 MB / 1.706 GB, free: 104.4 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.237e-05/3.961, allocations: 33.92 kB / 1.706 GB, free: 104.4 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=27): time 2.775e-06/3.961, allocations: 0 / 1.706 GB, free: 104.4 MB / 0.6511 GB Notification: Performance of matching and sorting (n=37): time 0.006536/3.968, allocations: 1.663 MB / 1.708 GB, free: 103.8 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.388e-05/3.968, allocations: 55.28 kB / 1.708 GB, free: 103.7 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009087/3.969, allocations: 420.9 kB / 1.709 GB, free: 103.6 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001018/3.969, allocations: 25.7 kB / 1.709 GB, free: 103.6 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002167/3.969, allocations: 257.4 kB / 1.709 GB, free: 103.4 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001735/3.969, allocations: 128.8 kB / 1.709 GB, free: 103.3 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.103e-05/3.969, allocations: 3.375 kB / 1.709 GB, free: 103.3 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001778/3.97, allocations: 360.3 kB / 1.709 GB, free: 103 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002328/3.97, allocations: 129 kB / 1.709 GB, free: 103 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003255/3.97, allocations: 258.4 kB / 1.71 GB, free: 102.9 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001128/3.971, allocations: 232.2 kB / 1.71 GB, free: 102.9 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/3.971, allocations: 0 / 1.71 GB, free: 102.9 MB / 0.6511 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.002125/3.973, allocations: 0.6256 MB / 1.71 GB, free: 102.8 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005544/3.974, allocations: 1.138 MB / 1.712 GB, free: 101.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.956e-05/3.974, allocations: 3.875 kB / 1.712 GB, free: 101.6 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005925/3.975, allocations: 162.3 kB / 1.712 GB, free: 101.6 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000332/3.975, allocations: 79.62 kB / 1.712 GB, free: 101.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001492/3.976, allocations: 1.382 MB / 1.713 GB, free: 100.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007755/3.977, allocations: 36.25 kB / 1.713 GB, free: 100.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.815e-05/3.977, allocations: 33.81 kB / 1.713 GB, free: 100.5 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/3.977, allocations: 3.906 kB / 1.713 GB, free: 100.5 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001437/3.979, allocations: 0.5066 MB / 1.714 GB, free: 100.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/3.979, allocations: 7.656 kB / 1.714 GB, free: 100.5 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004066/3.979, allocations: 165.5 kB / 1.714 GB, free: 100.5 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002158/3.979, allocations: 72.45 kB / 1.714 GB, free: 100.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001184/3.981, allocations: 1.383 MB / 1.715 GB, free: 99.41 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005785/3.981, allocations: 28.38 kB / 1.715 GB, free: 99.4 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.963e-05/3.981, allocations: 39.83 kB / 1.715 GB, free: 99.4 MB / 0.6511 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.vol1.dynBal.medium.T:DUMMY_DER(fixed = false ) "Temperature of medium" type: Real vol1.ports[1].m_flow:VARIABLE(flow=true min = -100000.0 max = 100000.0 unit = "kg/s" ) "Mass flow rate from the connection point into the component" type: Real [1] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.vol.dynBal.medium.T:DUMMY_DER(fixed = false ) "Temperature of medium" type: Real vol.dynBal.mb_flow:VARIABLE(unit = "kg/s" protected = true ) "Mass flows across boundaries" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * 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 {2 7,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.0002574/3.982, allocations: 123.1 kB / 1.715 GB, free: 99.29 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003515/3.982, allocations: 75.56 kB / 1.716 GB, free: 99.25 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002441/3.984, allocations: 0.8695 MB / 1.716 GB, free: 99.18 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.093e-05/3.984, allocations: 14.39 kB / 1.716 GB, free: 99.18 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/3.984, allocations: 0 / 1.716 GB, free: 99.18 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001385/3.986, allocations: 0.7386 MB / 1.717 GB, free: 98.9 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00299/3.989, allocations: 1.429 MB / 1.719 GB, free: 98.59 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/3.989, allocations: 0 / 1.719 GB, free: 98.59 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000217/3.989, allocations: 47.94 kB / 1.719 GB, free: 98.59 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004744/3.99, allocations: 158.2 kB / 1.719 GB, free: 98.57 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.13e-05/3.99, allocations: 11.72 kB / 1.719 GB, free: 98.57 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00125/3.991, allocations: 1.372 MB / 1.72 GB, free: 97.53 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/3.991, allocations: 3.906 kB / 1.72 GB, free: 97.53 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002046/3.993, allocations: 0.996 MB / 1.721 GB, free: 97.33 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004692/3.993, allocations: 216 kB / 1.721 GB, free: 97.21 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001661/3.994, allocations: 1.562 kB / 1.721 GB, free: 97.21 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000546/3.994, allocations: 35.06 kB / 1.721 GB, free: 97.2 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.783e-05/3.994, allocations: 22.52 kB / 1.721 GB, free: 97.2 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-05/3.994, allocations: 33.08 kB / 1.721 GB, free: 97.2 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0004575/3.995, allocations: 320.6 kB / 1.722 GB, free: 97.11 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.00307/3.998, allocations: 0.6879 MB / 1.722 GB, free: 96.98 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (vol.dynBal.medium.T_degC,vol1.dynBal.medium.T_degC) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 23 * Array equations: 4 * 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 {2 6,2 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.003037/4.001, allocations: 0.8349 MB / 1.723 GB, free: 96.73 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001507/4.002, allocations: 0.6873 MB / 1.724 GB, free: 96.69 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/4.002, allocations: 4.812 kB / 1.724 GB, free: 96.69 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0006604/4.003, allocations: 268.8 kB / 1.724 GB, free: 96.67 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001705/4.005, allocations: 280.3 kB / 1.724 GB, free: 96.66 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003255/4.008, allocations: 0.9651 MB / 1.725 GB, free: 96.4 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001425/4.01, allocations: 1.048 MB / 1.726 GB, free: 95.7 MB / 0.6511 GB Notification: Performance of SimCode: time 8.72e-07/4.01, allocations: 3.531 kB / 1.726 GB, free: 95.7 MB / 0.6511 GB Notification: Performance of Templates: time 0.05556/4.065, allocations: 22.46 MB / 1.748 GB, free: 86.59 MB / 0.6511 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe 2>&1)