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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3052/0.3052, allocations: 55.01 MB / 69.96 MB, free: 8.656 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.001158/0.001158, allocations: 189.7 kB / 83.98 MB, free: 10.81 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.876/1.876, allocations: 194.4 MB / 292.3 MB, free: 3.578 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.00171/0.00171, allocations: 123.1 kB / 350.7 MB, free: 9.094 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005116/0.0005116, allocations: 8 kB / 418.9 MB, free: 37.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1724/0.1729, allocations: 57.66 MB / 476.5 MB, free: 11.3 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.839/6.012, allocations: 2.376 GB / 2.842 GB, free: 177.1 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002931/6.013, allocations: 87.61 kB / 2.842 GB, free: 177.1 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.487/8.5, allocations: 0.7536 GB / 3.595 GB, free: 10.67 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.364e-06/8.5, allocations: 0 / 3.595 GB, free: 10.67 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.18e-05/8.5, allocations: 35.98 kB / 3.595 GB, free: 10.64 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.004741/8.505, allocations: 1.796 MB / 3.597 GB, free: 8.781 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/8.505, allocations: 12.03 kB / 3.597 GB, free: 8.77 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002262/8.507, allocations: 446 kB / 3.598 GB, free: 8.332 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002073/8.509, allocations: 1.066 MB / 3.599 GB, free: 7.223 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005747/8.51, allocations: 205.8 kB / 3.599 GB, free: 7.02 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001242/8.51, allocations: 88 kB / 3.599 GB, free: 6.934 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003076/8.513, allocations: 1.469 MB / 3.6 GB, free: 5.41 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.358e-05/8.513, allocations: 3.938 kB / 3.6 GB, free: 5.406 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001077/8.513, allocations: 47.95 kB / 3.6 GB, free: 5.359 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.424e-05/8.513, allocations: 45.98 kB / 3.6 GB, free: 5.312 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003435/8.517, allocations: 1.491 MB / 3.602 GB, free: 3.824 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007605/8.525, allocations: 5.584 MB / 3.607 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003103/8.528, allocations: 0.9841 MB / 3.608 GB, free: 12.87 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003364/8.528, allocations: 137.9 kB / 3.608 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002105/8.53, allocations: 0.7704 MB / 3.609 GB, free: 11.89 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=53): time 2.926e-06/8.53, allocations: 0 / 3.609 GB, free: 11.89 MB / 0.5261 GB Notification: Performance of matching and sorting (n=53): time 0.005403/8.536, allocations: 1.602 MB / 3.611 GB, free: 10.29 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003233/8.536, allocations: 423.7 kB / 3.611 GB, free: 9.773 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001783/8.538, allocations: 0.8952 MB / 3.612 GB, free: 8.863 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001727/8.538, allocations: 41.7 kB / 3.612 GB, free: 8.816 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005469/8.538, allocations: 0.5381 MB / 3.613 GB, free: 8.27 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002151/8.539, allocations: 189.3 kB / 3.613 GB, free: 8.082 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.171e-05/8.539, allocations: 16 kB / 3.613 GB, free: 8.066 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001366/8.539, allocations: 337.8 kB / 3.613 GB, free: 7.73 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001383/8.54, allocations: 0.4977 MB / 3.614 GB, free: 7.234 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001593/8.542, allocations: 0.7861 MB / 3.614 GB, free: 6.336 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001469/8.543, allocations: 0.566 MB / 3.615 GB, free: 5.77 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/8.543, allocations: 0 / 3.615 GB, free: 5.77 MB / 0.5261 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.003501/8.547, allocations: 1.346 MB / 3.616 GB, free: 4.406 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007734/8.548, allocations: 1.866 MB / 3.618 GB, free: 2.395 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/8.548, allocations: 4 kB / 3.618 GB, free: 2.391 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.344e-05/8.548, allocations: 8 kB / 3.618 GB, free: 2.383 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00389/8.552, allocations: 0.6594 MB / 3.619 GB, free: 1.723 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001754/8.553, allocations: 1.426 MB / 3.62 GB, free: 256 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00195/8.555, allocations: 246.9 kB / 3.62 GB, free: 8 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.3584/8.914, allocations: 29.42 kB / 3.62 GB, free: 69.57 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.381e-05/8.914, allocations: 4.688 kB / 3.62 GB, free: 69.57 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004034/8.918, allocations: 1.163 MB / 3.621 GB, free: 69.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.726e-05/8.918, allocations: 4.5 kB / 3.621 GB, free: 69.54 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.845e-05/8.918, allocations: 9.656 kB / 3.621 GB, free: 69.54 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001448/8.919, allocations: 262.3 kB / 3.622 GB, free: 69.54 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.492e-05/8.919, allocations: 12 kB / 3.622 GB, free: 69.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002053/8.921, allocations: 220.6 kB / 3.622 GB, free: 69.54 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.022e-05/8.922, allocations: 35.03 kB / 3.622 GB, free: 69.54 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 () * Number of clocked 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.0009802/8.923, allocations: 380.5 kB / 3.622 GB, free: 69.36 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000294/8.923, allocations: 111.1 kB / 3.622 GB, free: 69.36 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00362/8.927, allocations: 1.165 MB / 3.624 GB, free: 69.29 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.144e-05/8.927, allocations: 6.375 kB / 3.624 GB, free: 69.29 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.217e-06/8.927, allocations: 1.375 kB / 3.624 GB, free: 69.29 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.312e-05/8.927, allocations: 5.016 kB / 3.624 GB, free: 69.29 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005252/8.932, allocations: 2.306 MB / 3.626 GB, free: 68.81 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-06/8.932, allocations: 3.031 kB / 3.626 GB, free: 68.81 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003808/8.936, allocations: 0.6209 MB / 3.626 GB, free: 68.81 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.345e-05/8.936, allocations: 4.312 kB / 3.626 GB, free: 68.81 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.465e-05/8.936, allocations: 22.84 kB / 3.626 GB, free: 68.81 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004553/8.94, allocations: 3.332 MB / 3.63 GB, free: 66.18 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/8.94, allocations: 2.25 kB / 3.63 GB, free: 66.18 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003396/8.944, allocations: 1.303 MB / 3.631 GB, free: 65.89 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008216/8.945, allocations: 305.6 kB / 3.631 GB, free: 65.74 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001515/8.945, allocations: 15.97 kB / 3.631 GB, free: 65.74 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001319/8.946, allocations: 177.5 kB / 3.631 GB, free: 65.73 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001665/8.946, allocations: 54.91 kB / 3.632 GB, free: 65.73 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.775e-05/8.946, allocations: 26.92 kB / 3.632 GB, free: 65.73 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001017/8.947, allocations: 0.6905 MB / 3.632 GB, free: 65.62 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.5e-07/8.947, allocations: 0 / 3.632 GB, free: 65.62 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002541/8.95, allocations: 0.7113 MB / 3.633 GB, free: 65.61 MB / 0.5261 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) * Number of clocked states: 0 () * 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.002791/8.953, allocations: 1.644 MB / 3.635 GB, free: 65.16 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.008134/8.961, allocations: 2.22 MB / 3.637 GB, free: 65.03 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.988e-05/8.961, allocations: 2.656 kB / 3.637 GB, free: 65.03 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.006965/8.968, allocations: 1.26 MB / 3.638 GB, free: 65.03 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003122/8.971, allocations: 0.5278 MB / 3.638 GB, free: 65.01 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005397/8.977, allocations: 2.352 MB / 3.641 GB, free: 64 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008796/8.977, allocations: 1.11 MB / 3.642 GB, free: 63.3 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002246/8.98, allocations: 305.7 kB / 3.642 GB, free: 63.29 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003533/8.98, allocations: 88.56 kB / 3.642 GB, free: 63.28 MB / 0.5261 GB Notification: Performance of SimCode: time 2.054e-06/8.98, allocations: 3.688 kB / 3.642 GB, free: 63.28 MB / 0.5261 GB Notification: Performance of Templates: time 0.06079/9.041, allocations: 39.09 MB / 3.68 GB, free: 61.74 MB / 0.5261 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)