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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001656/0.001656, allocations: 182.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7251/0.7251, allocations: 133.3 MB / 150.1 MB, free: 11.18 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.343/1.343, allocations: 222.9 MB / 404.7 MB, free: 6.133 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009847/0.0009847, allocations: 110.8 kB / 485.9 MB, free: 7.266 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009903/0.0009904, allocations: 51.92 kB / 0.5636 GB, free: 69.98 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.119, allocations: 80.43 MB / 0.6421 GB, free: 5.48 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness): time 0.4495/0.5685, allocations: 197.6 MB / 0.8351 GB, free: 11.57 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.01031/0.5788, allocations: 7.739 MB / 0.8426 GB, free: 3.812 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001332/0.5802, allocations: 43.69 kB / 0.8427 GB, free: 3.77 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.001514/0.5818, allocations: 0.5751 MB / 0.8433 GB, free: 3.191 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.004264/0.586, allocations: 1.834 MB / 0.845 GB, free: 1.352 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.00248/0.5885, allocations: 1.05 MB / 0.8461 GB, free: 324 kB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.003537/0.5921, allocations: 3.476 MB / 0.8495 GB, free: 12.83 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001109/0.5932, allocations: 0.8364 MB / 0.8503 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002514/0.5957, allocations: 1.412 MB / 0.8517 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001377/0.5971, allocations: 0.8253 MB / 0.8525 GB, free: 9.734 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.0001227/0.5973, allocations: 52 kB / 0.8525 GB, free: 9.684 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003176/0.6004, allocations: 1.98 MB / 0.8544 GB, free: 7.699 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0002786/0.6007, allocations: 282.9 kB / 0.8547 GB, free: 7.422 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0005765/0.6013, allocations: 0.5634 MB / 0.8553 GB, free: 6.855 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.002534/0.6039, allocations: 2.154 MB / 0.8574 GB, free: 4.695 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.6039, allocations: 0 / 0.8574 GB, free: 4.695 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.71e-07/0.6039, allocations: 0 / 0.8574 GB, free: 4.695 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.088e-05/0.6039, allocations: 0 / 0.8574 GB, free: 4.695 MB / 0.5886 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.003358/0.6073, allocations: 1.67 MB / 0.859 GB, free: 2.969 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.6073, allocations: 12.03 kB / 0.859 GB, free: 2.957 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002307/0.6096, allocations: 438.1 kB / 0.8594 GB, free: 2.527 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001641/0.6113, allocations: 0.9096 MB / 0.8603 GB, free: 1.574 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006544/0.6119, allocations: 165.9 kB / 0.8605 GB, free: 1.41 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001213/0.6121, allocations: 76 kB / 0.8605 GB, free: 1.336 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002311/0.6144, allocations: 1.087 MB / 0.8616 GB, free: 236 kB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/0.6144, allocations: 0 / 0.8616 GB, free: 236 kB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.523e-05/0.6145, allocations: 32 kB / 0.8616 GB, free: 204 kB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.703e-05/0.6146, allocations: 37.98 kB / 0.8617 GB, free: 164 kB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003232/0.6178, allocations: 1.191 MB / 0.8628 GB, free: 14.97 MB / 0.6042 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.006152/0.624, allocations: 4.126 MB / 0.8669 GB, free: 10.55 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00265/0.6266, allocations: 0.8562 MB / 0.8677 GB, free: 9.684 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001361/0.628, allocations: 0.4972 MB / 0.8682 GB, free: 9.188 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007506/0.6288, allocations: 0.637 MB / 0.8688 GB, free: 8.422 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001532/0.6303, allocations: 0.5953 MB / 0.8694 GB, free: 7.805 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=57): time 2.104e-06/0.6303, allocations: 0 / 0.8694 GB, free: 7.805 MB / 0.6042 GB Notification: Performance of matching and sorting (n=57): time 0.004349/0.6347, allocations: 1.403 MB / 0.8708 GB, free: 6.395 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.705e-05/0.6347, allocations: 93.66 kB / 0.8709 GB, free: 6.285 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001014/0.6358, allocations: 0.8317 MB / 0.8717 GB, free: 5.43 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.684e-05/0.6358, allocations: 41.7 kB / 0.8717 GB, free: 5.383 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003178/0.6362, allocations: 428.4 kB / 0.8721 GB, free: 4.961 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001612/0.6363, allocations: 193.1 kB / 0.8723 GB, free: 4.77 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002412/0.6366, allocations: 134.1 kB / 0.8724 GB, free: 4.633 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.984e-05/0.6367, allocations: 326 kB / 0.8727 GB, free: 4.309 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00131/0.638, allocations: 426.9 kB / 0.8731 GB, free: 3.887 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001424/0.6394, allocations: 0.5447 MB / 0.8737 GB, free: 3.305 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002574/0.642, allocations: 0.9015 MB / 0.8746 GB, free: 2.371 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/0.6421, allocations: 11.98 kB / 0.8746 GB, free: 2.359 MB / 0.6042 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.003037/0.6451, allocations: 1.089 MB / 0.8756 GB, free: 1.258 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.549e-05/0.6451, allocations: 29.7 kB / 0.8757 GB, free: 1.223 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.6452, allocations: 4 kB / 0.8757 GB, free: 1.219 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/0.6452, allocations: 8.156 kB / 0.8757 GB, free: 1.211 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001383/0.6466, allocations: 227.6 kB / 0.8759 GB, free: 0.9883 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006402/0.6472, allocations: 1.195 MB / 0.8771 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001132/0.6484, allocations: 171.3 kB / 0.8772 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.478e-05/0.6485, allocations: 31.97 kB / 0.8772 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00155/0.65, allocations: 0.618 MB / 0.8779 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001364/0.6514, allocations: 0.537 MB / 0.8784 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002509/0.6539, allocations: 0.8937 MB / 0.8793 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.518e-06/0.6539, allocations: 4 kB / 0.8793 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of matching and sorting (n=70) (initialization_lambda0): time 0.002972/0.6569, allocations: 1.073 MB / 0.8803 GB, free: 12.33 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.132e-05/0.6569, allocations: 41.86 kB / 0.8803 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.657, allocations: 0 / 0.8803 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.383e-06/0.657, allocations: 4 kB / 0.8803 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001028/0.658, allocations: 203.7 kB / 0.8805 GB, free: 12.08 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.658, allocations: 4 kB / 0.8805 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001079/0.6591, allocations: 155.5 kB / 0.8807 GB, free: 11.92 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.775e-05/0.6592, allocations: 27.98 kB / 0.8807 GB, free: 11.89 MB / 0.6198 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.0002292/0.6594, allocations: 228 kB / 0.8809 GB, free: 11.67 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001502/0.6596, allocations: 98.78 kB / 0.881 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003224/0.6628, allocations: 1.133 MB / 0.8821 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.768e-06/0.6628, allocations: 4 kB / 0.8821 GB, free: 10.42 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.6628, allocations: 0 / 0.8821 GB, free: 10.42 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.6629, allocations: 7.984 kB / 0.8821 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004684/0.6675, allocations: 2.321 MB / 0.8844 GB, free: 8 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/0.6676, allocations: 4.344 kB / 0.8844 GB, free: 7.996 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001059/0.6686, allocations: 199.7 kB / 0.8846 GB, free: 7.801 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.674e-06/0.6686, allocations: 4 kB / 0.8846 GB, free: 7.797 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.604e-05/0.6687, allocations: 19.98 kB / 0.8846 GB, free: 7.777 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005208/0.6692, allocations: 1.188 MB / 0.8858 GB, free: 6.543 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.6693, allocations: 4 kB / 0.8858 GB, free: 6.539 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00497/0.6742, allocations: 2.492 MB / 0.8882 GB, free: 3.957 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005011/0.6748, allocations: 283.6 kB / 0.8885 GB, free: 3.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001246/0.6749, allocations: 12 kB / 0.8885 GB, free: 3.648 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00111/0.676, allocations: 139.8 kB / 0.8886 GB, free: 3.512 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000152/0.6762, allocations: 64.23 kB / 0.8887 GB, free: 3.445 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.997e-05/0.6763, allocations: 31.97 kB / 0.8887 GB, free: 3.414 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0006958/0.677, allocations: 0.5782 MB / 0.8893 GB, free: 2.824 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.677, allocations: 0 / 0.8893 GB, free: 2.824 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001396/0.6784, allocations: 491.1 kB / 0.8898 GB, free: 2.344 MB / 0.6198 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.0005889/0.679, allocations: 300.4 kB / 0.8901 GB, free: 2.047 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.004817/0.6838, allocations: 1.629 MB / 0.8916 GB, free: 408 kB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 8.887e-06/0.6838, allocations: 4 kB / 0.8917 GB, free: 404 kB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001683/0.6855, allocations: 0.5574 MB / 0.8922 GB, free: 15.83 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002386/0.6879, allocations: 465.5 kB / 0.8926 GB, free: 15.38 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004625/0.6925, allocations: 2.613 MB / 0.8952 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006407/0.6932, allocations: 1.055 MB / 0.8962 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001285/0.6945, allocations: 287 kB / 0.8965 GB, free: 11.33 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003039/0.6948, allocations: 83.41 kB / 0.8966 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of SimCode: time 6.01e-07/0.6948, allocations: 0 / 0.8966 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of Templates: time 0.03079/0.7256, allocations: 19.27 MB / 0.9154 GB, free: 8.18 MB / 0.6511 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)