Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness") translateModel(IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.007568/0.007568, allocations: 101.8 kB / 15.73 MB, free: 6.031 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.001806/0.001806, allocations: 186.6 kB / 16.67 MB, free: 5.965 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.411/1.411, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.788/0.788, allocations: 132.2 MB / 422.7 MB, free: 1.695 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001377, allocations: 55.91 kB / 0.5813 GB, free: 7.59 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4167/0.4181, allocations: 80.2 MB / 0.6597 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness): time 0.2125/0.6307, allocations: 200 MB / 0.8549 GB, free: 13.61 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.01199/0.6427, allocations: 7.654 MB / 0.8624 GB, free: 5.938 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001514/0.6442, allocations: 43.75 kB / 0.8625 GB, free: 5.895 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001821/0.6461, allocations: 0.7027 MB / 0.8631 GB, free: 5.188 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.005141/0.6513, allocations: 2.074 MB / 0.8652 GB, free: 3.109 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.00292/0.6542, allocations: 1.166 MB / 0.8663 GB, free: 1.957 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.4326/1.087, allocations: 2.69 MB / 0.8689 GB, free: 4.324 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001845/1.089, allocations: 0.9873 MB / 0.8699 GB, free: 4.246 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004177/1.093, allocations: 1.613 MB / 0.8715 GB, free: 4.242 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001974/1.095, allocations: 0.8201 MB / 0.8723 GB, free: 4.242 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0004748/1.095, allocations: 104.1 kB / 0.8724 GB, free: 4.242 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00434/1.1, allocations: 1.846 MB / 0.8742 GB, free: 4.242 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0007355/1.1, allocations: 330.8 kB / 0.8745 GB, free: 4.242 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001707/1.102, allocations: 0.6113 MB / 0.8751 GB, free: 4.242 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.005163/1.107, allocations: 2.157 MB / 0.8772 GB, free: 4.191 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/1.107, allocations: 0.5312 kB / 0.8772 GB, free: 4.191 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.194e-06/1.107, allocations: 0 / 0.8772 GB, free: 4.191 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 5.776e-05/1.107, allocations: 1.438 kB / 0.8772 GB, free: 4.191 MB / 0.6856 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.006275/1.114, allocations: 1.672 MB / 0.8788 GB, free: 19.32 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.673e-05/1.114, allocations: 13.25 kB / 0.8788 GB, free: 19.32 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002826/1.117, allocations: 438.9 kB / 0.8793 GB, free: 19.26 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002463/1.119, allocations: 0.9543 MB / 0.8802 GB, free: 18.93 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.092e-05/1.119, allocations: 60.22 kB / 0.8802 GB, free: 18.93 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002392/1.119, allocations: 70.75 kB / 0.8803 GB, free: 18.93 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002914/1.122, allocations: 1.082 MB / 0.8814 GB, free: 18.83 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.562e-05/1.122, allocations: 1.656 kB / 0.8814 GB, free: 18.83 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001168/1.123, allocations: 34.19 kB / 0.8814 GB, free: 18.83 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.182e-05/1.123, allocations: 35.31 kB / 0.8814 GB, free: 18.83 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003369/1.126, allocations: 1.172 MB / 0.8826 GB, free: 18.82 MB / 0.7012 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.007528/1.134, allocations: 4.097 MB / 0.8866 GB, free: 17.02 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002485/1.136, allocations: 0.8381 MB / 0.8874 GB, free: 16.99 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001249/1.137, allocations: 0.4937 MB / 0.8879 GB, free: 16.98 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008271/1.138, allocations: 0.6329 MB / 0.8885 GB, free: 16.32 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001479/1.14, allocations: 0.5862 MB / 0.8891 GB, free: 16.25 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=57): time 2.675e-06/1.14, allocations: 0 / 0.8891 GB, free: 16.25 MB / 0.7012 GB Notification: Performance of matching and sorting (n=57): time 0.004093/1.144, allocations: 1.382 MB / 0.8904 GB, free: 16.15 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.008e-05/1.144, allocations: 84.83 kB / 0.8905 GB, free: 16.06 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001211/1.145, allocations: 0.8329 MB / 0.8913 GB, free: 15.91 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 9.828e-05/1.145, allocations: 44.39 kB / 0.8914 GB, free: 15.88 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003127/1.146, allocations: 424.8 kB / 0.8918 GB, free: 15.72 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.000151/1.146, allocations: 196.6 kB / 0.892 GB, free: 15.6 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002542/1.146, allocations: 133.2 kB / 0.8921 GB, free: 15.58 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001111/1.146, allocations: 326.2 kB / 0.8924 GB, free: 15.27 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001163/1.147, allocations: 418.3 kB / 0.8928 GB, free: 15.26 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001221/1.148, allocations: 0.5366 MB / 0.8933 GB, free: 15.15 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002246/1.151, allocations: 0.8846 MB / 0.8942 GB, free: 15.05 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/1.151, allocations: 1.188 kB / 0.8942 GB, free: 15.05 MB / 0.7012 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002802/1.154, allocations: 1.063 MB / 0.8952 GB, free: 14.93 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 4.373e-05/1.154, allocations: 43.22 kB / 0.8953 GB, free: 14.89 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/1.154, allocations: 2.125 kB / 0.8953 GB, free: 14.89 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.293e-05/1.154, allocations: 6.547 kB / 0.8953 GB, free: 14.89 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001343/1.155, allocations: 227.3 kB / 0.8955 GB, free: 14.88 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006738/1.156, allocations: 1.197 MB / 0.8967 GB, free: 13.71 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001193/1.157, allocations: 136.3 kB / 0.8968 GB, free: 13.68 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.808e-05/1.157, allocations: 32.78 kB / 0.8968 GB, free: 13.68 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001469/1.158, allocations: 0.6059 MB / 0.8974 GB, free: 13.6 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001226/1.16, allocations: 0.5311 MB / 0.8979 GB, free: 13.48 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002165/1.162, allocations: 0.8766 MB / 0.8988 GB, free: 13.38 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.737e-06/1.162, allocations: 0.9062 kB / 0.8988 GB, free: 13.38 MB / 0.7012 GB Notification: Performance of matching and sorting (n=70) (initialization_lambda0): time 0.002535/1.164, allocations: 1.059 MB / 0.8998 GB, free: 13.26 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.962e-05/1.164, allocations: 35.2 kB / 0.8999 GB, free: 13.23 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/1.164, allocations: 2.344 kB / 0.8999 GB, free: 13.23 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.364e-06/1.165, allocations: 8.25 kB / 0.8999 GB, free: 13.23 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000908/1.165, allocations: 196.6 kB / 0.9 GB, free: 13.23 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.112e-05/1.165, allocations: 13.53 kB / 0.9001 GB, free: 13.22 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00107/1.167, allocations: 122.2 kB / 0.9002 GB, free: 13.2 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.448e-05/1.167, allocations: 29.92 kB / 0.9002 GB, free: 13.2 MB / 0.7012 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.0002903/1.167, allocations: 213.2 kB / 0.9004 GB, free: 13.02 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000223/1.167, allocations: 106.8 kB / 0.9005 GB, free: 12.97 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002749/1.17, allocations: 1.105 MB / 0.9016 GB, free: 12.9 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.185e-05/1.17, allocations: 11.31 kB / 0.9016 GB, free: 12.9 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/1.17, allocations: 2.906 kB / 0.9016 GB, free: 12.9 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/1.17, allocations: 3.625 kB / 0.9016 GB, free: 12.9 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004232/1.174, allocations: 2.304 MB / 0.9039 GB, free: 12.45 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/1.174, allocations: 2.406 kB / 0.9039 GB, free: 12.45 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009513/1.175, allocations: 201.3 kB / 0.9041 GB, free: 12.44 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.876e-06/1.175, allocations: 4.906 kB / 0.9041 GB, free: 12.44 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.96e-05/1.175, allocations: 20.95 kB / 0.9041 GB, free: 12.44 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005331/1.176, allocations: 1.194 MB / 0.9052 GB, free: 11.26 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/1.176, allocations: 2.562 kB / 0.9052 GB, free: 11.26 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002517/1.178, allocations: 1.2 MB / 0.9064 GB, free: 10.95 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005088/1.179, allocations: 286.1 kB / 0.9067 GB, free: 10.8 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001996/1.179, allocations: 13.38 kB / 0.9067 GB, free: 10.8 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001019/1.18, allocations: 107.3 kB / 0.9068 GB, free: 10.79 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001567/1.18, allocations: 58.31 kB / 0.9069 GB, free: 10.79 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.483e-05/1.18, allocations: 28.66 kB / 0.9069 GB, free: 10.79 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0007128/1.181, allocations: 0.58 MB / 0.9075 GB, free: 10.68 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2.01e-07/1.181, allocations: 3.188 kB / 0.9075 GB, free: 10.68 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001425/1.182, allocations: 482.9 kB / 0.9079 GB, free: 10.62 MB / 0.7012 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.0006826/1.183, allocations: 290.9 kB / 0.9082 GB, free: 10.5 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.004183/1.187, allocations: 1.607 MB / 0.9098 GB, free: 10.32 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/1.187, allocations: 0 / 0.9098 GB, free: 10.32 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001395/1.189, allocations: 0.5518 MB / 0.9103 GB, free: 10.32 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00198/1.191, allocations: 451.2 kB / 0.9107 GB, free: 10.24 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003696/1.194, allocations: 1.858 MB / 0.9125 GB, free: 9.512 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000625/1.195, allocations: 1.042 MB / 0.9136 GB, free: 8.797 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001036/1.196, allocations: 280.6 kB / 0.9138 GB, free: 8.73 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002883/1.196, allocations: 86.69 kB / 0.9139 GB, free: 8.723 MB / 0.7012 GB Notification: Performance of SimCode: time 9.72e-07/1.196, allocations: 0 / 0.9139 GB, free: 8.723 MB / 0.7012 GB Notification: Performance of Templates: time 0.03172/1.228, allocations: 19.6 MB / 0.9331 GB, free: 3.695 MB / 0.7012 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness.makefile (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness.sim & ./IDEAS_IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe 2>&1)