Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.HeatExchangers.Validation.ConstantEffectiveness.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.HeatExchangers.Validation.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.HeatExchangers.Validation.ConstantEffectiveness") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002494/0.002494, allocations: 355.3 kB / 15.94 MB, free: 6.211 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.402/1.402, allocations: 165.8 MB / 182.5 MB, free: 5.473 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.75/3.75, allocations: 410.7 MB / 0.5995 GB, free: 15.2 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001721/0.001721, allocations: 200.8 kB / 0.6662 GB, free: 6.949 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005233/0.0005235, allocations: 19.94 kB / 0.7423 GB, free: 8.973 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3557/0.3562, allocations: 67.44 MB / 0.8082 GB, free: 28.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Validation.ConstantEffectiveness): time 0.6801/1.036, allocations: 180.4 MB / 0.9844 GB, free: 360 kB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.0122/1.049, allocations: 7.391 MB / 0.9916 GB, free: 15.55 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001509/1.05, allocations: 35.25 kB / 0.9916 GB, free: 15.54 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001997/1.052, allocations: 0.5635 MB / 0.9922 GB, free: 15.21 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006723/1.059, allocations: 1.831 MB / 0.9939 GB, free: 14.35 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004387/1.063, allocations: 1.15 MB / 0.9951 GB, free: 14.05 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.004456/1.068, allocations: 2.976 MB / 0.998 GB, free: 13.04 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001505/1.069, allocations: 0.7022 MB / 0.9987 GB, free: 12.74 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00297/1.072, allocations: 1.098 MB / 0.9997 GB, free: 12.3 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001525/1.074, allocations: 0.7594 MB / 1 GB, free: 12.01 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001956/1.074, allocations: 43.5 kB / 1.001 GB, free: 12.01 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002922/1.077, allocations: 1.02 MB / 1.002 GB, free: 11.69 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004377/1.078, allocations: 256.1 kB / 1.002 GB, free: 11.57 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000459/1.078, allocations: 245.7 kB / 1.002 GB, free: 11.5 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002574/1.081, allocations: 1.409 MB / 1.003 GB, free: 10.83 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.919e-06/1.081, allocations: 0 / 1.003 GB, free: 10.83 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.12e-06/1.081, allocations: 0 / 1.003 GB, free: 10.83 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.224e-05/1.081, allocations: 4 kB / 1.003 GB, free: 10.82 MB / 490.7 MB 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.004297/1.085, allocations: 1.44 MB / 1.005 GB, free: 9.832 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/1.085, allocations: 14.75 kB / 1.005 GB, free: 9.828 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002987/1.088, allocations: 476.2 kB / 1.005 GB, free: 9.645 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002385/1.091, allocations: 0.8855 MB / 1.006 GB, free: 9.156 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007087/1.091, allocations: 186.1 kB / 1.006 GB, free: 9.109 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000182/1.091, allocations: 70.53 kB / 1.006 GB, free: 9.109 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003205/1.095, allocations: 1.128 MB / 1.007 GB, free: 8.77 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.44e-05/1.095, allocations: 2.562 kB / 1.007 GB, free: 8.77 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001144/1.095, allocations: 27.34 kB / 1.007 GB, free: 8.77 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.195e-05/1.095, allocations: 37.45 kB / 1.008 GB, free: 8.758 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004058/1.099, allocations: 1.267 MB / 1.009 GB, free: 8.508 MB / 490.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0085/1.108, allocations: 4.165 MB / 1.013 GB, free: 5.93 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003238/1.111, allocations: 0.9431 MB / 1.014 GB, free: 5.699 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001745/1.113, allocations: 0.534 MB / 1.014 GB, free: 5.582 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00104/1.114, allocations: 0.6465 MB / 1.015 GB, free: 4.895 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00202/1.116, allocations: 0.6295 MB / 1.016 GB, free: 4.664 MB / 490.7 MB Notification: Performance of pre-optimization done (n=57): time 4.624e-06/1.116, allocations: 0 / 1.016 GB, free: 4.664 MB / 490.7 MB Notification: Performance of matching and sorting (n=57): time 0.005474/1.121, allocations: 1.526 MB / 1.017 GB, free: 4.18 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.202e-05/1.121, allocations: 89.67 kB / 1.017 GB, free: 4.074 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001502/1.123, allocations: 0.8243 MB / 1.018 GB, free: 3.438 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001627/1.123, allocations: 43.2 kB / 1.018 GB, free: 3.398 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004361/1.123, allocations: 426 kB / 1.018 GB, free: 3.152 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002524/1.124, allocations: 195.6 kB / 1.019 GB, free: 2.988 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.928e-05/1.124, allocations: 8.25 kB / 1.019 GB, free: 2.988 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001788/1.124, allocations: 331.7 kB / 1.019 GB, free: 2.668 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001701/1.126, allocations: 450.6 kB / 1.019 GB, free: 2.32 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001859/1.128, allocations: 0.5839 MB / 1.02 GB, free: 1.816 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001745/1.129, allocations: 497.5 kB / 1.02 GB, free: 1.434 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.286e-06/1.129, allocations: 4 kB / 1.02 GB, free: 1.43 MB / 490.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.004072/1.134, allocations: 1.158 MB / 1.021 GB, free: 488 kB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001506/1.134, allocations: 168.5 kB / 1.022 GB, free: 296 kB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/1.134, allocations: 7.984 kB / 1.022 GB, free: 288 kB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.075e-05/1.134, allocations: 4 kB / 1.022 GB, free: 284 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001783/1.136, allocations: 250.2 kB / 1.022 GB, free: 40 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00104/1.137, allocations: 1.197 MB / 1.023 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001566/1.138, allocations: 184.8 kB / 1.023 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001555/1.138, allocations: 26.98 kB / 1.023 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/1.138, allocations: 4 kB / 1.023 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003754/1.142, allocations: 1.055 MB / 1.024 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/1.142, allocations: 4.047 kB / 1.024 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/1.142, allocations: 11.94 kB / 1.024 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001381/1.144, allocations: 222.4 kB / 1.024 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.397e-05/1.144, allocations: 9.859 kB / 1.025 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001469/1.145, allocations: 188.4 kB / 1.025 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001071/1.145, allocations: 29.3 kB / 1.025 GB, free: 13.35 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (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.0006969/1.146, allocations: 341.7 kB / 1.025 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002503/1.146, allocations: 98.78 kB / 1.025 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004107/1.15, allocations: 1.21 MB / 1.026 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.093e-05/1.15, allocations: 11.95 kB / 1.026 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.041e-06/1.15, allocations: 4 kB / 1.026 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.284e-05/1.15, allocations: 3.984 kB / 1.026 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006513/1.157, allocations: 2.391 MB / 1.029 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.379e-05/1.157, allocations: 4.344 kB / 1.029 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001429/1.158, allocations: 215.2 kB / 1.029 GB, free: 9.949 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.419e-05/1.159, allocations: 12 kB / 1.029 GB, free: 9.938 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.56e-05/1.159, allocations: 21.36 kB / 1.029 GB, free: 9.926 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009348/1.16, allocations: 1.19 MB / 1.03 GB, free: 8.707 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.997e-06/1.16, allocations: 4.125 kB / 1.03 GB, free: 8.703 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004045/1.164, allocations: 1.296 MB / 1.031 GB, free: 7.578 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006705/1.164, allocations: 283 kB / 1.032 GB, free: 7.336 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001764/1.165, allocations: 25.67 kB / 1.032 GB, free: 7.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001458/1.166, allocations: 154 kB / 1.032 GB, free: 7.176 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001825/1.166, allocations: 59.81 kB / 1.032 GB, free: 7.129 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000114/1.166, allocations: 31.22 kB / 1.032 GB, free: 7.102 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001039/1.167, allocations: 0.5719 MB / 1.032 GB, free: 6.668 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.557e-06/1.167, allocations: 3.938 kB / 1.032 GB, free: 6.664 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001701/1.169, allocations: 483.7 kB / 1.033 GB, free: 6.223 MB / 0.4948 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) * Number of clocked states: 0 () * 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.0007588/1.17, allocations: 292.8 kB / 1.033 GB, free: 5.961 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.006204/1.176, allocations: 1.74 MB / 1.035 GB, free: 4.527 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.562e-06/1.176, allocations: 4.062 kB / 1.035 GB, free: 4.523 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002256/1.178, allocations: 0.6036 MB / 1.035 GB, free: 4.051 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003088/1.182, allocations: 460.2 kB / 1.036 GB, free: 3.68 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005884/1.187, allocations: 2.233 MB / 1.038 GB, free: 1.574 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009142/1.188, allocations: 1.065 MB / 1.039 GB, free: 0.4961 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.002004/1.19, allocations: 283 kB / 1.039 GB, free: 220 kB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003975/1.191, allocations: 78.84 kB / 1.039 GB, free: 144 kB / 0.4948 GB Notification: Performance of SimCode: time 2.634e-06/1.191, allocations: 0 / 1.039 GB, free: 144 kB / 0.4948 GB Notification: Performance of Templates: time 0.04557/1.236, allocations: 18.15 MB / 1.057 GB, free: 14.22 MB / 0.5261 GB