Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Validation.ConstantEffectiveness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Fluid.HeatExchangers.Validation.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Validation.ConstantEffectiveness") translateModel(Annex60.Fluid.HeatExchangers.Validation.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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/Annex60 1.0.0/package.mo): time 0.2672/0.2672, allocations: 54.4 MB / 61.68 MB, free: 11.15 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00115/0.001151, allocations: 181.8 kB / 75.37 MB, free: 1.473 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.567/1.567, allocations: 194.2 MB / 283.2 MB, free: 3.633 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.002015/0.002015, allocations: 111.7 kB / 341.3 MB, free: 9.508 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.424e-06/7.464e-06, allocations: 3.938 kB / 404.9 MB, free: 27.71 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1481/0.1481, allocations: 57.64 MB / 462.6 MB, free: 1.996 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.297/5.445, allocations: 2.375 GB / 2.827 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002462/5.445, allocations: 79.95 kB / 2.827 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.71/8.155, allocations: 0.7525 GB / 3.58 GB, free: 42.88 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001667/8.155, allocations: 35.98 kB / 3.58 GB, free: 42.84 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 233 * Number of variables: 233 Notification: Performance of Generate backend data structure: time 0.00606/8.161, allocations: 1.66 MB / 3.581 GB, free: 41.12 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/8.161, allocations: 11.97 kB / 3.581 GB, free: 41.11 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002936/8.164, allocations: 489.8 kB / 3.582 GB, free: 40.63 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003209/8.167, allocations: 1.054 MB / 3.583 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006803/8.168, allocations: 189.9 kB / 3.583 GB, free: 39.35 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004122/8.168, allocations: 52 kB / 3.583 GB, free: 39.3 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002519/8.171, allocations: 0.906 MB / 3.584 GB, free: 38.39 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002493/8.174, allocations: 1.051 MB / 3.585 GB, free: 37.29 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.056e-05/8.174, allocations: 0 / 3.585 GB, free: 37.29 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001877/8.174, allocations: 4 kB / 3.585 GB, free: 37.28 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.534e-05/8.174, allocations: 41.91 kB / 3.585 GB, free: 37.24 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009629/8.183, allocations: 5.463 MB / 3.59 GB, free: 31.43 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009684/8.185, allocations: 0.5425 MB / 3.591 GB, free: 30.87 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004285/8.185, allocations: 297.9 kB / 3.591 GB, free: 30.58 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003636/8.185, allocations: 141.5 kB / 3.591 GB, free: 30.42 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006811/8.186, allocations: 496.3 kB / 3.592 GB, free: 29.89 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=53): time 4.879e-06/8.186, allocations: 0 / 3.592 GB, free: 29.89 MB / 0.5105 GB Notification: Performance of matching and sorting (n=53): time 0.001942/8.188, allocations: 0.7088 MB / 3.593 GB, free: 29.17 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001076/8.188, allocations: 431.6 kB / 3.593 GB, free: 28.65 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001013/8.189, allocations: 0.6414 MB / 3.594 GB, free: 28 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001256/8.189, allocations: 33.77 kB / 3.594 GB, free: 27.96 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003493/8.19, allocations: 438.5 kB / 3.594 GB, free: 27.53 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001709/8.19, allocations: 177.3 kB / 3.594 GB, free: 27.35 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.288e-05/8.19, allocations: 0 / 3.594 GB, free: 27.35 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.024e-05/8.19, allocations: 337.9 kB / 3.595 GB, free: 27.02 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000437/8.19, allocations: 293.5 kB / 3.595 GB, free: 26.73 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005962/8.191, allocations: 0.5721 MB / 3.595 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006799/8.192, allocations: 369.6 kB / 3.596 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/8.192, allocations: 7.938 kB / 3.596 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001628/8.193, allocations: 0.8772 MB / 3.597 GB, free: 24.79 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004808/8.194, allocations: 1.998 MB / 3.599 GB, free: 22.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.406e-05/8.194, allocations: 4 kB / 3.599 GB, free: 22.63 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.758e-05/8.194, allocations: 15.91 kB / 3.599 GB, free: 22.62 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004321/8.198, allocations: 0.7608 MB / 3.599 GB, free: 21.86 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001726/8.2, allocations: 1.426 MB / 3.601 GB, free: 20.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002173/8.202, allocations: 223.2 kB / 3.601 GB, free: 20.16 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001652/8.202, allocations: 35.97 kB / 3.601 GB, free: 20.13 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/8.202, allocations: 4 kB / 3.601 GB, free: 20.12 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00158/8.204, allocations: 0.7394 MB / 3.602 GB, free: 19.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.48e-05/8.204, allocations: 4 kB / 3.602 GB, free: 19.39 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/8.204, allocations: 12 kB / 3.602 GB, free: 19.38 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001273/8.205, allocations: 280 kB / 3.602 GB, free: 19.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.481e-05/8.205, allocations: 8 kB / 3.602 GB, free: 19.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001755/8.207, allocations: 199.3 kB / 3.602 GB, free: 18.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001149/8.207, allocations: 39.98 kB / 3.602 GB, free: 18.86 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (88): * Single equations (assignments): 85 * 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.0003342/8.208, allocations: 125.5 kB / 3.602 GB, free: 18.73 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003553/8.208, allocations: 102.9 kB / 3.602 GB, free: 18.63 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00191/8.21, allocations: 0.7357 MB / 3.603 GB, free: 17.89 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.179e-05/8.21, allocations: 11.91 kB / 3.603 GB, free: 17.88 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.417e-06/8.21, allocations: 4 kB / 3.603 GB, free: 17.87 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.337e-06/8.21, allocations: 3.984 kB / 3.603 GB, free: 17.87 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003126/8.213, allocations: 1.789 MB / 3.605 GB, free: 16.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.92e-06/8.213, allocations: 4 kB / 3.605 GB, free: 16.01 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003668/8.217, allocations: 0.683 MB / 3.606 GB, free: 15.33 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.35e-05/8.217, allocations: 11.94 kB / 3.606 GB, free: 15.32 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.057e-05/8.217, allocations: 19.89 kB / 3.606 GB, free: 15.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003555/8.22, allocations: 2.976 MB / 3.608 GB, free: 12.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/8.22, allocations: 4.031 kB / 3.608 GB, free: 12.1 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001558/8.222, allocations: 0.8735 MB / 3.609 GB, free: 11.16 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007439/8.223, allocations: 283.7 kB / 3.61 GB, free: 10.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003201/8.223, allocations: 7.906 kB / 3.61 GB, free: 10.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001641/8.225, allocations: 179.8 kB / 3.61 GB, free: 10.68 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001363/8.225, allocations: 56.2 kB / 3.61 GB, free: 10.62 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.436e-05/8.225, allocations: 27.97 kB / 3.61 GB, free: 10.6 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0007533/8.226, allocations: 491.1 kB / 3.61 GB, free: 10.12 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002777/8.229, allocations: 0.6937 MB / 3.611 GB, free: 9.426 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (57): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.003737/8.232, allocations: 1.815 MB / 3.613 GB, free: 7.574 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.007517/8.24, allocations: 1.973 MB / 3.615 GB, free: 5.586 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.053e-05/8.24, allocations: 4 kB / 3.615 GB, free: 5.582 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.007167/8.247, allocations: 1.395 MB / 3.616 GB, free: 4.188 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002383/8.249, allocations: 351.6 kB / 3.616 GB, free: 3.844 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004304/8.254, allocations: 1.384 MB / 3.618 GB, free: 2.406 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001236/8.255, allocations: 1.211 MB / 3.619 GB, free: 1.164 MB / 0.5105 GB Notification: Performance of SimCode: time 1.072e-06/8.255, allocations: 3.938 kB / 3.619 GB, free: 1.16 MB / 0.5105 GB Notification: Performance of Templates: time 0.3624/8.617, allocations: 32.2 MB / 3.65 GB, free: 96.39 MB / 0.5105 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Validation.ConstantEffectiveness.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Validation.ConstantEffectiveness.sim & ./Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Validation.ConstantEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe 2>&1)