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/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 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 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(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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009255/0.009256, allocations: 101.4 kB / 15.73 MB, free: 6.055 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.001628/0.001628, allocations: 200.2 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.399/1.399, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8374/0.8374, allocations: 135.1 MB / 425.7 MB, free: 4.094 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001492/0.001492, allocations: 68.08 kB / 0.5856 GB, free: 21.58 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1807/0.1822, allocations: 80.92 MB / 0.6646 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness): time 0.6268/0.8091, allocations: 200 MB / 0.8599 GB, free: 5.602 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01289/0.822, allocations: 7.657 MB / 0.8674 GB, free: 15.36 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002154/0.8242, allocations: 41.59 kB / 0.8674 GB, free: 15.34 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002481/0.8267, allocations: 0.7052 MB / 0.8681 GB, free: 14.75 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.00621/0.833, allocations: 2.067 MB / 0.8701 GB, free: 12.71 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003491/0.8365, allocations: 1.173 MB / 0.8713 GB, free: 11.55 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.004309/0.8409, allocations: 2.693 MB / 0.8739 GB, free: 8.848 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001997/0.8429, allocations: 0.9861 MB / 0.8749 GB, free: 7.852 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004702/0.8476, allocations: 1.61 MB / 0.8764 GB, free: 6.238 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00212/0.8497, allocations: 0.8315 MB / 0.8772 GB, free: 5.41 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0004565/0.8502, allocations: 104 kB / 0.8773 GB, free: 5.309 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004754/0.855, allocations: 1.84 MB / 0.8791 GB, free: 3.465 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0006312/0.8556, allocations: 330.9 kB / 0.8795 GB, free: 3.141 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001342/0.857, allocations: 0.6103 MB / 0.8801 GB, free: 2.527 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.005033/0.862, allocations: 2.166 MB / 0.8822 GB, free: 364 kB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.862, allocations: 0 / 0.8822 GB, free: 364 kB / 0.6387 GB Notification: Performance of FrontEnd: time 2.264e-06/0.862, allocations: 0 / 0.8822 GB, free: 364 kB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.362e-05/0.8621, allocations: 0 / 0.8822 GB, free: 364 kB / 0.6387 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.00497/0.8671, allocations: 1.67 MB / 0.8838 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/0.8671, allocations: 9.109 kB / 0.8838 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002592/0.8697, allocations: 434.1 kB / 0.8842 GB, free: 14.19 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002292/0.8721, allocations: 0.9641 MB / 0.8852 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.01e-05/0.8721, allocations: 54 kB / 0.8852 GB, free: 13.13 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002385/0.8724, allocations: 76 kB / 0.8853 GB, free: 13.06 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002783/0.8752, allocations: 1.075 MB / 0.8863 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.241e-05/0.8752, allocations: 3.984 kB / 0.8863 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000107/0.8753, allocations: 31.98 kB / 0.8864 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.392e-05/0.8754, allocations: 33.98 kB / 0.8864 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003347/0.8787, allocations: 1.171 MB / 0.8875 GB, free: 10.72 MB / 0.6544 GB 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.007329/0.8861, allocations: 4.111 MB / 0.8916 GB, free: 6.312 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002565/0.8887, allocations: 0.8405 MB / 0.8924 GB, free: 5.465 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001356/0.89, allocations: 494.2 kB / 0.8929 GB, free: 4.98 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008569/0.8909, allocations: 0.633 MB / 0.8935 GB, free: 4.219 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001652/0.8926, allocations: 0.5875 MB / 0.894 GB, free: 3.609 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=57): time 2.885e-06/0.8926, allocations: 0 / 0.894 GB, free: 3.609 MB / 0.6544 GB Notification: Performance of matching and sorting (n=57): time 0.004448/0.897, allocations: 1.38 MB / 0.8954 GB, free: 2.223 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.614e-05/0.8971, allocations: 89.66 kB / 0.8955 GB, free: 2.117 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001267/0.8984, allocations: 0.8355 MB / 0.8963 GB, free: 1.258 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001029/0.8985, allocations: 41.7 kB / 0.8963 GB, free: 1.211 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003759/0.8989, allocations: 428.4 kB / 0.8967 GB, free: 0.7891 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001914/0.8991, allocations: 193.1 kB / 0.8969 GB, free: 0.5977 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002756/0.8994, allocations: 130.1 kB / 0.8971 GB, free: 476 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001904/0.8996, allocations: 326 kB / 0.8974 GB, free: 144 kB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001344/0.9009, allocations: 426.8 kB / 0.8978 GB, free: 15.72 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001392/0.9023, allocations: 0.5409 MB / 0.8983 GB, free: 15.13 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002522/0.9049, allocations: 0.882 MB / 0.8992 GB, free: 14.22 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.9049, allocations: 0 / 0.8992 GB, free: 14.22 MB / 0.67 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.003025/0.9079, allocations: 1.065 MB / 0.9002 GB, free: 13.14 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 4.285e-05/0.908, allocations: 37.64 kB / 0.9002 GB, free: 13.1 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/0.908, allocations: 1.562 kB / 0.9002 GB, free: 13.1 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.142e-05/0.908, allocations: 4 kB / 0.9002 GB, free: 13.09 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001395/0.9094, allocations: 231.8 kB / 0.9005 GB, free: 12.87 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007687/0.9102, allocations: 1.195 MB / 0.9016 GB, free: 11.62 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001163/0.9114, allocations: 131.5 kB / 0.9018 GB, free: 11.5 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.701e-05/0.9115, allocations: 31.97 kB / 0.9018 GB, free: 11.46 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001637/0.9131, allocations: 0.6102 MB / 0.9024 GB, free: 10.85 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001401/0.9145, allocations: 0.5369 MB / 0.9029 GB, free: 10.27 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002507/0.9171, allocations: 0.8742 MB / 0.9038 GB, free: 9.367 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.178e-06/0.9171, allocations: 0 / 0.9038 GB, free: 9.367 MB / 0.67 GB Notification: Performance of matching and sorting (n=70) (initialization_lambda0): time 0.002986/0.9201, allocations: 1.058 MB / 0.9048 GB, free: 8.293 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.464e-05/0.9201, allocations: 37.69 kB / 0.9048 GB, free: 8.25 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.9201, allocations: 4 kB / 0.9048 GB, free: 8.246 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.596e-06/0.9201, allocations: 4 kB / 0.9048 GB, free: 8.242 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001006/0.9211, allocations: 195.8 kB / 0.905 GB, free: 8.051 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/0.9212, allocations: 4 kB / 0.905 GB, free: 8.047 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00107/0.9222, allocations: 131.4 kB / 0.9052 GB, free: 7.918 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.131e-05/0.9223, allocations: 32.08 kB / 0.9052 GB, free: 7.887 MB / 0.67 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 (trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition1) * 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 (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000288/0.9226, allocations: 220.1 kB / 0.9054 GB, free: 7.664 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002183/0.9228, allocations: 94.88 kB / 0.9055 GB, free: 7.57 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003194/0.926, allocations: 1.114 MB / 0.9066 GB, free: 6.453 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.28e-05/0.9261, allocations: 8 kB / 0.9066 GB, free: 6.445 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.9261, allocations: 0 / 0.9066 GB, free: 6.445 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.137e-05/0.9261, allocations: 7.984 kB / 0.9066 GB, free: 6.438 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004953/0.9311, allocations: 2.298 MB / 0.9088 GB, free: 4.051 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.174e-06/0.9311, allocations: 4 kB / 0.9088 GB, free: 4.047 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001037/0.9321, allocations: 192 kB / 0.909 GB, free: 3.859 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.11e-05/0.9322, allocations: 12 kB / 0.909 GB, free: 3.848 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.29e-05/0.9322, allocations: 23.98 kB / 0.909 GB, free: 3.824 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006503/0.9329, allocations: 1.184 MB / 0.9102 GB, free: 2.594 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/0.9329, allocations: 4 kB / 0.9102 GB, free: 2.59 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002987/0.9359, allocations: 1.192 MB / 0.9114 GB, free: 1.34 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004867/0.9364, allocations: 291.6 kB / 0.9117 GB, free: 1.035 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000193/0.9366, allocations: 15.94 kB / 0.9117 GB, free: 1.02 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00107/0.9377, allocations: 107.9 kB / 0.9118 GB, free: 0.9141 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001545/0.9378, allocations: 56.31 kB / 0.9118 GB, free: 0.8594 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.713e-05/0.9379, allocations: 31.97 kB / 0.9119 GB, free: 0.8281 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0008435/0.9388, allocations: 0.5859 MB / 0.9124 GB, free: 236 kB / 0.67 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9388, allocations: 0 / 0.9124 GB, free: 236 kB / 0.67 GB Notification: Performance of remove unused functions: time 0.001432/0.9402, allocations: 491 kB / 0.9129 GB, free: 15.75 MB / 0.6856 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 (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007085/0.9409, allocations: 303.4 kB / 0.9132 GB, free: 15.45 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.004842/0.9458, allocations: 1.606 MB / 0.9148 GB, free: 13.82 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.9458, allocations: 0 / 0.9148 GB, free: 13.82 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001607/0.9474, allocations: 0.5496 MB / 0.9153 GB, free: 13.27 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002159/0.9496, allocations: 436.2 kB / 0.9157 GB, free: 12.85 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004291/0.9539, allocations: 1.861 MB / 0.9175 GB, free: 10.93 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006963/0.9546, allocations: 1.039 MB / 0.9185 GB, free: 9.859 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001157/0.9558, allocations: 283 kB / 0.9188 GB, free: 9.578 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002929/0.9561, allocations: 91.34 kB / 0.9189 GB, free: 9.488 MB / 0.6856 GB Notification: Performance of SimCode: time 4.81e-07/0.9561, allocations: 0 / 0.9189 GB, free: 9.488 MB / 0.6856 GB Notification: Performance of Templates: time 0.03415/0.9903, allocations: 19.58 MB / 0.938 GB, free: 6.113 MB / 0.7012 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)