Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness") translateModel(IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.001951/0.001951, allocations: 174.2 kB / 7.458 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.598/0.598, allocations: 133.5 MB / 141.4 MB, free: 15.64 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.137/1.137, allocations: 221.3 MB / 395 MB, free: 10.16 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008463/0.0008463, allocations: 94.69 kB / 477.8 MB, free: 10.77 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.76e-06/5.851e-06, allocations: 3 kB / 0.5528 GB, free: 89.38 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1077, allocations: 82.3 MB / 0.6332 GB, free: 14.08 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.996/3.104, allocations: 2.128 GB / 2.761 GB, free: 113.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001809/3.104, allocations: 79.95 kB / 2.761 GB, free: 113.2 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.079/5.183, allocations: 0.7964 GB / 3.558 GB, free: 90.83 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.429e-05/5.183, allocations: 27.2 kB / 3.558 GB, free: 90.81 MB / 0.6823 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.003773/5.187, allocations: 1.596 MB / 3.559 GB, free: 89.17 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/5.187, allocations: 8.25 kB / 3.559 GB, free: 89.16 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002135/5.189, allocations: 478.1 kB / 3.56 GB, free: 88.7 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002123/5.191, allocations: 1.049 MB / 3.561 GB, free: 87.63 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005704/5.192, allocations: 177.9 kB / 3.561 GB, free: 87.45 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.936e-05/5.192, allocations: 44 kB / 3.561 GB, free: 87.41 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001112/5.193, allocations: 0.742 MB / 3.562 GB, free: 86.67 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001137/5.194, allocations: 0.8387 MB / 3.562 GB, free: 85.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.798e-05/5.194, allocations: 4 kB / 3.562 GB, free: 85.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.464e-05/5.194, allocations: 0 / 3.562 GB, free: 85.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.836e-05/5.194, allocations: 37.89 kB / 3.562 GB, free: 85.76 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005525/5.2, allocations: 4.124 MB / 3.566 GB, free: 81.43 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006533/5.201, allocations: 0.532 MB / 3.567 GB, free: 80.89 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003788/5.201, allocations: 341.1 kB / 3.567 GB, free: 80.56 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006225/5.202, allocations: 0.6411 MB / 3.568 GB, free: 79.8 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005135/5.202, allocations: 443.8 kB / 3.568 GB, free: 79.35 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=57): time 3.447e-06/5.202, allocations: 0 / 3.568 GB, free: 79.35 MB / 0.6823 GB Notification: Performance of matching and sorting (n=57): time 0.001497/5.204, allocations: 0.7336 MB / 3.569 GB, free: 78.61 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.921e-05/5.204, allocations: 85.61 kB / 3.569 GB, free: 78.51 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005458/5.204, allocations: 0.5629 MB / 3.57 GB, free: 77.94 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.307e-05/5.204, allocations: 33.7 kB / 3.57 GB, free: 77.9 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001456/5.204, allocations: 321.3 kB / 3.57 GB, free: 77.58 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001104/5.205, allocations: 185.3 kB / 3.57 GB, free: 77.4 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.174e-05/5.205, allocations: 7.938 kB / 3.57 GB, free: 77.39 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.035e-05/5.205, allocations: 326 kB / 3.571 GB, free: 77.07 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003424/5.205, allocations: 261.2 kB / 3.571 GB, free: 76.81 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004065/5.205, allocations: 426.8 kB / 3.571 GB, free: 76.33 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006033/5.206, allocations: 333.2 kB / 3.572 GB, free: 76 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/5.206, allocations: 0 / 3.572 GB, free: 76 MB / 0.6823 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001229/5.207, allocations: 0.7766 MB / 3.572 GB, free: 75.22 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001334/5.207, allocations: 0.875 MB / 3.573 GB, free: 74.28 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/5.207, allocations: 4 kB / 3.573 GB, free: 74.27 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/5.207, allocations: 4 kB / 3.573 GB, free: 74.27 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001367/5.209, allocations: 259.7 kB / 3.573 GB, free: 74.02 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005028/5.209, allocations: 1.223 MB / 3.575 GB, free: 72.75 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00113/5.21, allocations: 175.6 kB / 3.575 GB, free: 72.57 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-05/5.211, allocations: 35.97 kB / 3.575 GB, free: 72.54 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 6.832e-06/5.211, allocations: 4 kB / 3.575 GB, free: 72.54 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001135/5.212, allocations: 0.6586 MB / 3.575 GB, free: 71.88 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/5.212, allocations: 4 kB / 3.575 GB, free: 71.87 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.633e-06/5.212, allocations: 4 kB / 3.575 GB, free: 71.87 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001033/5.213, allocations: 235.9 kB / 3.576 GB, free: 71.64 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-06/5.213, allocations: 8 kB / 3.576 GB, free: 71.63 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001067/5.214, allocations: 187.4 kB / 3.576 GB, free: 71.45 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.129e-05/5.214, allocations: 27.98 kB / 3.576 GB, free: 71.42 MB / 0.6823 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.0001856/5.214, allocations: 124.4 kB / 3.576 GB, free: 71.29 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001217/5.214, allocations: 86.88 kB / 3.576 GB, free: 71.21 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00159/5.216, allocations: 0.8675 MB / 3.577 GB, free: 70.34 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.093e-05/5.216, allocations: 8 kB / 3.577 GB, free: 70.33 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/5.216, allocations: 0 / 3.577 GB, free: 70.33 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.154e-06/5.216, allocations: 7.984 kB / 3.577 GB, free: 70.32 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002731/5.219, allocations: 1.943 MB / 3.579 GB, free: 68.31 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.179e-06/5.219, allocations: 0 / 3.579 GB, free: 68.31 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001072/5.22, allocations: 236 kB / 3.579 GB, free: 68.08 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.784e-06/5.22, allocations: 4 kB / 3.579 GB, free: 68.08 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.401e-05/5.22, allocations: 15.97 kB / 3.579 GB, free: 68.06 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003471/5.22, allocations: 1.207 MB / 3.58 GB, free: 66.81 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/5.22, allocations: 3.938 kB / 3.58 GB, free: 66.8 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001256/5.221, allocations: 1.069 MB / 3.581 GB, free: 65.62 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003776/5.222, allocations: 279.7 kB / 3.582 GB, free: 65.32 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001405/5.222, allocations: 4 kB / 3.582 GB, free: 65.32 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001159/5.223, allocations: 167.8 kB / 3.582 GB, free: 65.16 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001257/5.223, allocations: 56.25 kB / 3.582 GB, free: 65.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.38e-05/5.223, allocations: 27.98 kB / 3.582 GB, free: 65.07 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0004449/5.224, allocations: 447.1 kB / 3.582 GB, free: 64.64 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001511/5.225, allocations: 0.5965 MB / 3.583 GB, free: 64.04 MB / 0.6823 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.001892/5.227, allocations: 1.866 MB / 3.585 GB, free: 62.26 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001878/5.229, allocations: 1.147 MB / 3.586 GB, free: 61.1 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/5.229, allocations: 0 / 3.586 GB, free: 61.1 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006476/5.23, allocations: 421.3 kB / 3.586 GB, free: 60.69 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00151/5.231, allocations: 339.5 kB / 3.586 GB, free: 60.37 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002636/5.234, allocations: 1.361 MB / 3.588 GB, free: 58.94 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007097/5.235, allocations: 1.164 MB / 3.589 GB, free: 57.74 MB / 0.6823 GB Notification: Performance of SimCode: time 3.01e-07/5.235, allocations: 0 / 3.589 GB, free: 57.74 MB / 0.6823 GB Notification: Performance of Templates: time 0.03615/5.271, allocations: 30.21 MB / 3.618 GB, free: 27.73 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness.sim & ./IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe 2>&1)