Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.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.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams") translateModel(IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams") [: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.001152/0.001152, allocations: 183.8 kB / 7.805 MB, free: 2.445 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4617/0.4617, allocations: 90.85 MB / 99.07 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.341/1.341, allocations: 221.4 MB / 342.7 MB, free: 5.277 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.001292/0.001292, allocations: 90.05 kB / 415.5 MB, free: 9.863 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 9.287e-06/9.417e-06, allocations: 4 kB / 493.9 MB, free: 11.59 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.381/0.381, allocations: 72.3 MB / 0.5529 GB, free: 44.81 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.248/3.629, allocations: 1.848 GB / 2.401 GB, free: 200 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002152/3.63, allocations: 83.95 kB / 2.401 GB, free: 199.9 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.245/6.875, allocations: 1.01 GB / 3.411 GB, free: 77.78 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001643/6.875, allocations: 39.45 kB / 3.411 GB, free: 77.77 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: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.007667/6.883, allocations: 1.826 MB / 3.413 GB, free: 76.94 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 7.995e-05/6.883, allocations: 8.938 kB / 3.413 GB, free: 76.94 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004235/6.887, allocations: 0.5932 MB / 3.414 GB, free: 76.87 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003828/6.891, allocations: 1.084 MB / 3.415 GB, free: 76.54 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006521/6.892, allocations: 180.9 kB / 3.415 GB, free: 76.54 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003722/6.892, allocations: 50.12 kB / 3.415 GB, free: 76.54 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002271/6.894, allocations: 1.008 MB / 3.416 GB, free: 76.54 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002231/6.896, allocations: 1.056 MB / 3.417 GB, free: 76.45 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.285e-05/6.896, allocations: 3.938 kB / 3.417 GB, free: 76.45 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000133/6.897, allocations: 0 / 3.417 GB, free: 76.45 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.888e-05/6.897, allocations: 46.44 kB / 3.417 GB, free: 76.44 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008138/6.905, allocations: 4.103 MB / 3.421 GB, free: 74.87 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001189/6.906, allocations: 0.7213 MB / 3.422 GB, free: 74.84 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006995/6.907, allocations: 0.5036 MB / 3.422 GB, free: 74.82 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001014/6.908, allocations: 0.6178 MB / 3.423 GB, free: 74.26 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.527e-05/6.908, allocations: 43.5 kB / 3.423 GB, free: 74.22 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=76): time 3.577e-06/6.908, allocations: 0 / 3.423 GB, free: 74.22 MB / 0.6198 GB Notification: Performance of matching and sorting (n=76): time 0.00283/6.911, allocations: 1.192 MB / 3.424 GB, free: 74.12 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.058e-05/6.911, allocations: 62.72 kB / 3.424 GB, free: 74.06 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009576/6.912, allocations: 0.5621 MB / 3.425 GB, free: 73.94 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001442/6.912, allocations: 29.64 kB / 3.425 GB, free: 73.91 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002125/6.912, allocations: 328.6 kB / 3.425 GB, free: 73.71 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002466/6.912, allocations: 250.7 kB / 3.425 GB, free: 73.55 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.304e-05/6.912, allocations: 3.938 kB / 3.425 GB, free: 73.54 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.058e-05/6.913, allocations: 336.4 kB / 3.425 GB, free: 73.24 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005851/6.913, allocations: 410.2 kB / 3.426 GB, free: 73.23 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006809/6.914, allocations: 0.5395 MB / 3.426 GB, free: 73.11 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001241/6.915, allocations: 0.6156 MB / 3.427 GB, free: 73.09 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/6.915, allocations: 3.969 kB / 3.427 GB, free: 73.09 MB / 0.6198 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002311/6.917, allocations: 1.208 MB / 3.428 GB, free: 73 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001424/6.918, allocations: 451 kB / 3.429 GB, free: 72.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/6.918, allocations: 7.172 kB / 3.429 GB, free: 72.54 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.996e-05/6.918, allocations: 7.156 kB / 3.429 GB, free: 72.54 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001726/6.919, allocations: 295.3 kB / 3.429 GB, free: 72.53 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006305/6.92, allocations: 1.206 MB / 3.43 GB, free: 71.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001579/6.922, allocations: 188.6 kB / 3.43 GB, free: 71.33 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001515/6.922, allocations: 46.31 kB / 3.43 GB, free: 71.33 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/6.922, allocations: 3.719 kB / 3.43 GB, free: 71.33 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002152/6.924, allocations: 1.089 MB / 3.431 GB, free: 71.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/6.924, allocations: 3.938 kB / 3.431 GB, free: 71.15 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.658e-06/6.924, allocations: 3.906 kB / 3.431 GB, free: 71.15 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001423/6.925, allocations: 274 kB / 3.432 GB, free: 71.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.339e-05/6.925, allocations: 3.375 kB / 3.432 GB, free: 71.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001456/6.927, allocations: 183.1 kB / 3.432 GB, free: 71.11 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000124/6.927, allocations: 42.91 kB / 3.432 GB, free: 71.11 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 2 (hex.i1_w,hex.i2_w) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002712/6.927, allocations: 126.5 kB / 3.432 GB, free: 70.98 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003024/6.928, allocations: 90.78 kB / 3.432 GB, free: 70.94 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002603/6.93, allocations: 1.265 MB / 3.433 GB, free: 70.52 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-05/6.93, allocations: 15.14 kB / 3.433 GB, free: 70.52 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.106e-06/6.93, allocations: 0 / 3.433 GB, free: 70.52 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.917e-06/6.93, allocations: 2.859 kB / 3.433 GB, free: 70.52 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005684/6.936, allocations: 2.653 MB / 3.436 GB, free: 69.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.988e-06/6.936, allocations: 3.812 kB / 3.436 GB, free: 69.34 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001531/6.938, allocations: 266.2 kB / 3.436 GB, free: 69.33 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-05/6.938, allocations: 6.125 kB / 3.436 GB, free: 69.33 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001009/6.938, allocations: 21.91 kB / 3.436 GB, free: 69.33 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005395/6.938, allocations: 1.198 MB / 3.437 GB, free: 68.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.608e-06/6.938, allocations: 1.75 kB / 3.437 GB, free: 68.14 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002828/6.941, allocations: 1.543 MB / 3.439 GB, free: 67.24 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001015/6.942, allocations: 310.3 kB / 3.439 GB, free: 67.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002964/6.942, allocations: 10.59 kB / 3.439 GB, free: 67.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00168/6.944, allocations: 166.7 kB / 3.439 GB, free: 67.02 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001791/6.944, allocations: 53.08 kB / 3.439 GB, free: 67.01 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001142/6.944, allocations: 35.92 kB / 3.439 GB, free: 67 MB / 0.6198 GB Notification: Performance of sort global known variables: time 0.0008415/6.945, allocations: 443.2 kB / 3.44 GB, free: 66.8 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002944/6.948, allocations: 0.691 MB / 3.441 GB, free: 66.6 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004546/6.953, allocations: 2.64 MB / 3.443 GB, free: 64.85 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.003225/6.956, allocations: 1.604 MB / 3.445 GB, free: 63.37 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/6.956, allocations: 0 / 3.445 GB, free: 63.37 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0009765/6.957, allocations: 0.539 MB / 3.445 GB, free: 62.88 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002396/6.959, allocations: 415.2 kB / 3.446 GB, free: 62.61 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01622/6.976, allocations: 2.423 MB / 3.448 GB, free: 60.69 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001484/6.977, allocations: 1.238 MB / 3.449 GB, free: 59.44 MB / 0.6198 GB Notification: Performance of SimCode: time 1.713e-06/6.977, allocations: 0 / 3.449 GB, free: 59.44 MB / 0.6198 GB Notification: Performance of Templates: time 0.06246/7.04, allocations: 38.39 MB / 3.487 GB, free: 22.14 MB / 0.6198 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.makefile (rm -f IBPSA_latest_IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.sim & ./IBPSA_latest_IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe 2>&1)