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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001/0.001, allocations: 100.2 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009247/0.0009247, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.428/1.428, allocations: 205.4 MB / 222.1 MB, free: 5.887 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4154/0.4154, allocations: 54.98 MB / 325.4 MB, free: 0.668 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005203/0.0005204, allocations: 20 kB / 396.6 MB, free: 11.83 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.286/0.2865, allocations: 60.72 MB / 457.3 MB, free: 37.93 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.HeatExchangers.Validation.ConstantEffectiveness): time 0.1957/0.4823, allocations: 166.6 MB / 0.6093 GB, free: 0.6328 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.009496/0.4918, allocations: 6.288 MB / 0.6155 GB, free: 10.34 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001056/0.4929, allocations: 35.75 kB / 0.6155 GB, free: 10.31 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001822/0.4948, allocations: 0.6104 MB / 0.6161 GB, free: 9.695 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003918/0.4987, allocations: 1.493 MB / 0.6176 GB, free: 8.199 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002516/0.5012, allocations: 0.9081 MB / 0.6184 GB, free: 7.305 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003135/0.5044, allocations: 1.709 MB / 0.6201 GB, free: 5.594 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001518/0.5059, allocations: 0.795 MB / 0.6209 GB, free: 4.789 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002754/0.5087, allocations: 1.246 MB / 0.6221 GB, free: 3.539 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001179/0.5099, allocations: 0.6692 MB / 0.6228 GB, free: 2.867 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001459/0.5101, allocations: 52 kB / 0.6228 GB, free: 2.816 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001811/0.5119, allocations: 0.8815 MB / 0.6237 GB, free: 1.934 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003486/0.5122, allocations: 318.9 kB / 0.624 GB, free: 1.621 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003677/0.5126, allocations: 289 kB / 0.6242 GB, free: 1.332 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00177/0.5144, allocations: 1.577 MB / 0.6258 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.5144, allocations: 0 / 0.6258 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.456e-06/0.5144, allocations: 0 / 0.6258 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.748e-05/0.5144, allocations: 3.938 kB / 0.6258 GB, free: 15.75 MB / 0.4981 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.003808/0.5183, allocations: 1.558 MB / 0.6273 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.5183, allocations: 8.031 kB / 0.6273 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002568/0.5209, allocations: 490.6 kB / 0.6278 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001755/0.5226, allocations: 0.9141 MB / 0.6287 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006624/0.5233, allocations: 197.9 kB / 0.6289 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001449/0.5235, allocations: 95.97 kB / 0.629 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003538/0.527, allocations: 1.479 MB / 0.6304 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.008e-05/0.5271, allocations: 3.938 kB / 0.6304 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001202/0.5272, allocations: 40 kB / 0.6304 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.386e-05/0.5273, allocations: 45.98 kB / 0.6305 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004066/0.5313, allocations: 1.522 MB / 0.632 GB, free: 9.273 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007795/0.5391, allocations: 5.632 MB / 0.6375 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003117/0.5423, allocations: 1 MB / 0.6385 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003845/0.5427, allocations: 153.8 kB / 0.6386 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002087/0.5448, allocations: 0.7821 MB / 0.6394 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=53): time 2.184e-06/0.5448, allocations: 0 / 0.6394 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of matching and sorting (n=53): time 0.1888/0.7336, allocations: 1.611 MB / 0.6409 GB, free: 159.3 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000101/0.7337, allocations: 423.9 kB / 0.6413 GB, free: 158.8 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001142/0.7349, allocations: 1.012 MB / 0.6423 GB, free: 158.6 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001316/0.735, allocations: 43.48 kB / 0.6424 GB, free: 158.6 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003179/0.7353, allocations: 0.5309 MB / 0.6429 GB, free: 158.5 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001234/0.7355, allocations: 184.3 kB / 0.6431 GB, free: 158.4 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.676e-05/0.7355, allocations: 11.47 kB / 0.6431 GB, free: 158.4 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.206e-05/0.7356, allocations: 337.2 kB / 0.6434 GB, free: 158.1 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001302/0.7369, allocations: 0.5078 MB / 0.6439 GB, free: 158.1 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001395/0.7383, allocations: 0.782 MB / 0.6447 GB, free: 157.8 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001325/0.7396, allocations: 0.571 MB / 0.6452 GB, free: 157.8 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.7396, allocations: 2.625 kB / 0.6452 GB, free: 157.8 MB / 0.4981 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.003154/0.7428, allocations: 1.355 MB / 0.6465 GB, free: 157.6 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002922/0.7431, allocations: 1.866 MB / 0.6484 GB, free: 155.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/0.7431, allocations: 6.469 kB / 0.6484 GB, free: 155.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.046e-05/0.7432, allocations: 9 kB / 0.6484 GB, free: 155.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003568/0.7467, allocations: 0.6951 MB / 0.6491 GB, free: 155.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004206/0.751, allocations: 3.39 MB / 0.6524 GB, free: 153 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001605/0.7526, allocations: 249.7 kB / 0.6526 GB, free: 153 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.681e-05/0.7527, allocations: 31.73 kB / 0.6526 GB, free: 153 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.278e-06/0.7527, allocations: 5.125 kB / 0.6526 GB, free: 153 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002738/0.7554, allocations: 1.171 MB / 0.6538 GB, free: 152.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.7555, allocations: 4.688 kB / 0.6538 GB, free: 152.9 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.887e-06/0.7555, allocations: 10.84 kB / 0.6538 GB, free: 152.9 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00108/0.7566, allocations: 259.9 kB / 0.654 GB, free: 152.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.868e-06/0.7566, allocations: 11.66 kB / 0.6541 GB, free: 152.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001342/0.7579, allocations: 215.9 kB / 0.6543 GB, free: 152.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-05/0.758, allocations: 36.12 kB / 0.6543 GB, free: 152.8 MB / 0.4981 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.0005231/0.7585, allocations: 373.2 kB / 0.6547 GB, free: 152.6 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001601/0.7587, allocations: 129.8 kB / 0.6548 GB, free: 152.6 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002973/0.7617, allocations: 1.166 MB / 0.6559 GB, free: 152.5 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/0.7617, allocations: 7.906 kB / 0.6559 GB, free: 152.5 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.7617, allocations: 2.453 kB / 0.6559 GB, free: 152.5 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.824e-06/0.7617, allocations: 3.188 kB / 0.6559 GB, free: 152.5 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00387/0.7656, allocations: 2.33 MB / 0.6582 GB, free: 151.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.7656, allocations: 2.844 kB / 0.6582 GB, free: 151.6 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003014/0.7686, allocations: 0.6173 MB / 0.6588 GB, free: 151.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-05/0.7687, allocations: 2.969 kB / 0.6588 GB, free: 151.5 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.513e-05/0.7687, allocations: 20.58 kB / 0.6588 GB, free: 151.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003633/0.7724, allocations: 3.323 MB / 0.6621 GB, free: 148.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.7724, allocations: 0 / 0.6621 GB, free: 148.6 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002983/0.7754, allocations: 1.322 MB / 0.6634 GB, free: 148.1 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006184/0.776, allocations: 300.8 kB / 0.6637 GB, free: 147.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001683/0.7762, allocations: 19.22 kB / 0.6637 GB, free: 147.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001241/0.7775, allocations: 179.5 kB / 0.6638 GB, free: 147.8 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001472/0.7776, allocations: 54.48 kB / 0.6639 GB, free: 147.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.829e-05/0.7777, allocations: 26.23 kB / 0.6639 GB, free: 147.8 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000787/0.7785, allocations: 0.6931 MB / 0.6646 GB, free: 147.5 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7785, allocations: 3.828 kB / 0.6646 GB, free: 147.5 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001471/0.78, allocations: 0.57 MB / 0.6652 GB, free: 147.4 MB / 0.4981 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.0004847/0.7804, allocations: 227.3 kB / 0.6654 GB, free: 147.3 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007363/0.7878, allocations: 2.313 MB / 0.6676 GB, free: 146.7 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.175e-05/0.7879, allocations: 0 / 0.6676 GB, free: 146.7 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.005953/0.7938, allocations: 1.313 MB / 0.6689 GB, free: 146.5 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002655/0.7965, allocations: 0.5182 MB / 0.6694 GB, free: 146.4 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004437/0.801, allocations: 2.362 MB / 0.6717 GB, free: 145.1 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005085/0.8015, allocations: 1.104 MB / 0.6728 GB, free: 144.4 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001576/0.8031, allocations: 299.3 kB / 0.6731 GB, free: 144.3 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002811/0.8034, allocations: 92.27 kB / 0.6732 GB, free: 144.3 MB / 0.4981 GB Notification: Performance of SimCode: time 1.552e-06/0.8034, allocations: 0 / 0.6732 GB, free: 144.3 MB / 0.4981 GB Notification: Performance of Templates: time 0.03693/0.8404, allocations: 21.04 MB / 0.6937 GB, free: 138.9 MB / 0.4981 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Validation.ConstantEffectiveness.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: