Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.ConstantEffectiveness.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.HeatExchangers.Validation.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.ConstantEffectiveness") translateModel(IBPSA.Fluid.HeatExchangers.Validation.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.ConstantEffectiveness") [: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.001431/0.001431, allocations: 188.8 kB / 7.801 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4465/0.4465, allocations: 90.86 MB / 99.08 MB, free: 14.91 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.219/1.219, allocations: 221.4 MB / 342.8 MB, free: 5.105 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.0009486/0.0009486, allocations: 95.3 kB / 415.5 MB, free: 6.395 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 8.747e-06/8.777e-06, allocations: 4 kB / 493.9 MB, free: 8.035 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4046/0.4046, allocations: 72.29 MB / 0.5529 GB, free: 73.23 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.131/4.536, allocations: 2.118 GB / 2.671 GB, free: 171.7 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002754/4.536, allocations: 87 kB / 2.671 GB, free: 171.6 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.359/6.895, allocations: 0.7951 GB / 3.466 GB, free: 76.87 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001348/6.895, allocations: 30.52 kB / 3.466 GB, free: 76.84 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.004938/6.9, allocations: 1.591 MB / 3.468 GB, free: 75.21 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.013e-05/6.9, allocations: 8.031 kB / 3.468 GB, free: 75.2 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002565/6.903, allocations: 482 kB / 3.468 GB, free: 74.73 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00268/6.906, allocations: 1.048 MB / 3.469 GB, free: 73.66 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006183/6.906, allocations: 173.9 kB / 3.47 GB, free: 73.49 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001831/6.907, allocations: 44 kB / 3.47 GB, free: 73.45 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001409/6.908, allocations: 0.742 MB / 3.47 GB, free: 72.71 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001336/6.909, allocations: 0.8426 MB / 3.471 GB, free: 71.84 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.948e-05/6.909, allocations: 0 / 3.471 GB, free: 71.84 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.214e-05/6.909, allocations: 0 / 3.471 GB, free: 71.84 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.061e-05/6.91, allocations: 37.98 kB / 3.471 GB, free: 71.8 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006418/6.916, allocations: 4.132 MB / 3.475 GB, free: 67.47 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007137/6.917, allocations: 0.5349 MB / 3.476 GB, free: 66.93 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004168/6.917, allocations: 338.2 kB / 3.476 GB, free: 66.59 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006677/6.918, allocations: 0.6408 MB / 3.477 GB, free: 65.83 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005506/6.918, allocations: 431.8 kB / 3.477 GB, free: 65.39 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=57): time 2.635e-06/6.918, allocations: 4 kB / 3.477 GB, free: 65.39 MB / 0.6198 GB Notification: Performance of matching and sorting (n=57): time 0.001626/6.92, allocations: 0.7413 MB / 3.478 GB, free: 64.64 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.243e-05/6.92, allocations: 85.59 kB / 3.478 GB, free: 64.54 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006527/6.921, allocations: 0.5592 MB / 3.479 GB, free: 63.98 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.731e-05/6.921, allocations: 25.7 kB / 3.479 GB, free: 63.95 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001686/6.921, allocations: 320 kB / 3.479 GB, free: 63.63 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001244/6.921, allocations: 189.2 kB / 3.479 GB, free: 63.44 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.448e-05/6.921, allocations: 7.938 kB / 3.479 GB, free: 63.43 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.411e-05/6.921, allocations: 322 kB / 3.479 GB, free: 63.11 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003691/6.922, allocations: 265.2 kB / 3.48 GB, free: 62.86 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004303/6.922, allocations: 421.9 kB / 3.48 GB, free: 62.39 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006576/6.923, allocations: 333.2 kB / 3.48 GB, free: 62.06 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.125e-06/6.923, allocations: 0 / 3.48 GB, free: 62.06 MB / 0.6198 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001341/6.924, allocations: 0.7687 MB / 3.481 GB, free: 61.29 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001618/6.924, allocations: 0.8751 MB / 3.482 GB, free: 60.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/6.924, allocations: 4 kB / 3.482 GB, free: 60.34 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/6.924, allocations: 7.906 kB / 3.482 GB, free: 60.33 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001444/6.926, allocations: 266.7 kB / 3.482 GB, free: 60.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005448/6.926, allocations: 1.211 MB / 3.483 GB, free: 58.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001241/6.927, allocations: 179.5 kB / 3.484 GB, free: 58.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.712e-05/6.928, allocations: 35.97 kB / 3.484 GB, free: 58.61 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.883e-06/6.928, allocations: 4 kB / 3.484 GB, free: 58.6 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001202/6.929, allocations: 0.6547 MB / 3.484 GB, free: 57.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/6.929, allocations: 8.25 kB / 3.484 GB, free: 57.94 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.304e-06/6.929, allocations: 4.109 kB / 3.484 GB, free: 57.94 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001083/6.93, allocations: 239.6 kB / 3.484 GB, free: 57.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/6.93, allocations: 8 kB / 3.484 GB, free: 57.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001154/6.931, allocations: 175.4 kB / 3.485 GB, free: 57.52 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.074e-05/6.931, allocations: 31.98 kB / 3.485 GB, free: 57.49 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 66 * 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.0001923/6.931, allocations: 124.8 kB / 3.485 GB, free: 57.36 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001365/6.932, allocations: 82.97 kB / 3.485 GB, free: 57.28 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001707/6.933, allocations: 0.8714 MB / 3.486 GB, free: 56.39 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.124e-05/6.933, allocations: 11.98 kB / 3.486 GB, free: 56.38 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/6.933, allocations: 0 / 3.486 GB, free: 56.38 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.273e-06/6.933, allocations: 0 / 3.486 GB, free: 56.38 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003016/6.936, allocations: 1.941 MB / 3.488 GB, free: 54.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/6.936, allocations: 0 / 3.488 GB, free: 54.38 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001117/6.937, allocations: 239.7 kB / 3.488 GB, free: 54.14 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.055e-05/6.937, allocations: 7.703 kB / 3.488 GB, free: 54.14 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.07e-05/6.938, allocations: 11.98 kB / 3.488 GB, free: 54.13 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003715/6.938, allocations: 1.207 MB / 3.489 GB, free: 52.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/6.938, allocations: 0 / 3.489 GB, free: 52.88 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001356/6.939, allocations: 1.077 MB / 3.49 GB, free: 51.68 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004112/6.94, allocations: 279.7 kB / 3.49 GB, free: 51.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001719/6.94, allocations: 4 kB / 3.49 GB, free: 51.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001238/6.941, allocations: 163.8 kB / 3.491 GB, free: 51.22 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001271/6.941, allocations: 64.2 kB / 3.491 GB, free: 51.16 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.888e-05/6.941, allocations: 31.97 kB / 3.491 GB, free: 51.12 MB / 0.6198 GB Notification: Performance of sort global known variables: time 0.0004604/6.942, allocations: 451.1 kB / 3.491 GB, free: 50.69 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.00167/6.944, allocations: 0.5926 MB / 3.492 GB, free: 50.1 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * 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.002254/6.946, allocations: 1.871 MB / 3.493 GB, free: 48.41 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002105/6.948, allocations: 1.136 MB / 3.495 GB, free: 47.26 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/6.948, allocations: 4 kB / 3.495 GB, free: 47.25 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0007569/6.949, allocations: 417.5 kB / 3.495 GB, free: 46.85 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001769/6.95, allocations: 340.3 kB / 3.495 GB, free: 46.52 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003446/6.954, allocations: 1.363 MB / 3.497 GB, free: 45.11 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008235/6.955, allocations: 1.168 MB / 3.498 GB, free: 43.9 MB / 0.6198 GB Notification: Performance of SimCode: time 6.11e-07/6.955, allocations: 0 / 3.498 GB, free: 43.9 MB / 0.6198 GB Notification: Performance of Templates: time 0.03976/6.995, allocations: 30.22 MB / 3.527 GB, free: 13.99 MB / 0.6198 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.ConstantEffectiveness.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.ConstantEffectiveness.sim & ./IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.ConstantEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe 2>&1)