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.001284/0.001284, allocations: 103.5 kB / 16.27 MB, free: 5.867 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.001339/0.001339, allocations: 190.1 kB / 17.2 MB, free: 5.512 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.362/1.362, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8136/0.8136, allocations: 135.1 MB / 426.2 MB, free: 4.129 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001434/0.001434, allocations: 67.89 kB / 0.506 GB, free: 8.348 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3505/0.3519, allocations: 80.9 MB / 0.585 GB, free: 25.26 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness): time 0.5784/0.9304, allocations: 199.9 MB / 0.7803 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0107/0.9411, allocations: 7.662 MB / 0.7877 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001975/0.9431, allocations: 43.08 kB / 0.7878 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002058/0.9453, allocations: 0.6895 MB / 0.7884 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00564/0.9509, allocations: 1.983 MB / 0.7904 GB, free: 1.441 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003128/0.9541, allocations: 1.146 MB / 0.7915 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003772/0.9579, allocations: 2.677 MB / 0.7941 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001567/0.9595, allocations: 0.9892 MB / 0.7951 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00396/0.9634, allocations: 1.553 MB / 0.7966 GB, free: 1.297 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001651/0.9651, allocations: 0.8218 MB / 0.7974 GB, free: 1.293 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002585/0.9654, allocations: 104.5 kB / 0.7975 GB, free: 1.293 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003585/0.969, allocations: 1.833 MB / 0.7993 GB, free: 1.273 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004025/0.9694, allocations: 335.5 kB / 0.7996 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0009251/0.9704, allocations: 0.6106 MB / 0.8002 GB, free: 1.109 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004658/0.975, allocations: 2.127 MB / 0.8023 GB, free: 0.8438 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.9751, allocations: 3.188 kB / 0.8023 GB, free: 0.8438 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.603e-06/0.9751, allocations: 0.875 kB / 0.8023 GB, free: 0.8438 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.114e-05/0.9751, allocations: 0 / 0.8023 GB, free: 0.8438 MB / 0.5762 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.003813/0.9789, allocations: 1.671 MB / 0.8039 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.979, allocations: 11.11 kB / 0.8039 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00242/0.9814, allocations: 436 kB / 0.8044 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001779/0.9832, allocations: 0.9166 MB / 0.8052 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005974/0.9838, allocations: 162.8 kB / 0.8054 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001374/0.984, allocations: 76.59 kB / 0.8055 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002369/0.9863, allocations: 1.092 MB / 0.8065 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.807e-05/0.9864, allocations: 0 / 0.8065 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000106/0.9865, allocations: 30.64 kB / 0.8066 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.27e-05/0.9865, allocations: 32.66 kB / 0.8066 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003219/0.9898, allocations: 1.195 MB / 0.8078 GB, free: 15.45 MB / 0.5919 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.006496/0.9963, allocations: 4.146 MB / 0.8118 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002553/0.9989, allocations: 0.8583 MB / 0.8127 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001302/1, allocations: 0.4942 MB / 0.8131 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007685/1.001, allocations: 0.6366 MB / 0.8138 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001555/1.003, allocations: 0.5928 MB / 0.8143 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=57): time 3.767e-06/1.003, allocations: 0 / 0.8143 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of matching and sorting (n=57): time 0.004384/1.007, allocations: 1.409 MB / 0.8157 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.507e-05/1.007, allocations: 92.33 kB / 0.8158 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001052/1.008, allocations: 0.8284 MB / 0.8166 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.000102/1.008, allocations: 40.77 kB / 0.8166 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003508/1.009, allocations: 433.6 kB / 0.8171 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001685/1.009, allocations: 190.6 kB / 0.8172 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002333/1.009, allocations: 133.5 kB / 0.8174 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001208/1.009, allocations: 325.5 kB / 0.8177 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001271/1.01, allocations: 428.3 kB / 0.8181 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001348/1.012, allocations: 0.5497 MB / 0.8186 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002529/1.014, allocations: 0.9051 MB / 0.8195 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/1.014, allocations: 0 / 0.8195 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.003093/1.017, allocations: 1.088 MB / 0.8206 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.801e-05/1.017, allocations: 39.03 kB / 0.8206 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/1.017, allocations: 2.688 kB / 0.8206 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.547e-05/1.018, allocations: 7.906 kB / 0.8206 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001494/1.019, allocations: 230.8 kB / 0.8208 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007354/1.02, allocations: 1.188 MB / 0.822 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001211/1.021, allocations: 148.3 kB / 0.8221 GB, free: 10.13 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000103/1.021, allocations: 38.67 kB / 0.8222 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001663/1.023, allocations: 0.6124 MB / 0.8228 GB, free: 9.977 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001427/1.024, allocations: 0.5433 MB / 0.8233 GB, free: 9.641 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002628/1.027, allocations: 0.8919 MB / 0.8242 GB, free: 9.16 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.288e-06/1.027, allocations: 0 / 0.8242 GB, free: 9.16 MB / 0.5919 GB Notification: Performance of matching and sorting (n=70) (initialization_lambda0): time 0.003325/1.03, allocations: 1.083 MB / 0.8252 GB, free: 8.625 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.083e-05/1.03, allocations: 36.58 kB / 0.8253 GB, free: 8.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/1.03, allocations: 1.969 kB / 0.8253 GB, free: 8.59 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.638e-06/1.03, allocations: 3.531 kB / 0.8253 GB, free: 8.59 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001065/1.031, allocations: 205.3 kB / 0.8255 GB, free: 8.531 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.455e-05/1.031, allocations: 9.562 kB / 0.8255 GB, free: 8.527 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00124/1.033, allocations: 135.3 kB / 0.8256 GB, free: 8.457 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.823e-05/1.033, allocations: 26.55 kB / 0.8256 GB, free: 8.449 MB / 0.5919 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.0003118/1.033, allocations: 220.5 kB / 0.8258 GB, free: 8.25 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003077/1.033, allocations: 103.1 kB / 0.8259 GB, free: 8.195 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003613/1.037, allocations: 1.13 MB / 0.827 GB, free: 7.594 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-05/1.037, allocations: 6.094 kB / 0.8271 GB, free: 7.594 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.862e-06/1.037, allocations: 0 / 0.8271 GB, free: 7.594 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.313e-05/1.037, allocations: 3.984 kB / 0.8271 GB, free: 7.59 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005476/1.043, allocations: 2.328 MB / 0.8293 GB, free: 6.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.497e-06/1.043, allocations: 2.469 kB / 0.8293 GB, free: 6.07 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001113/1.044, allocations: 194 kB / 0.8295 GB, free: 6.02 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.751e-05/1.044, allocations: 9.062 kB / 0.8295 GB, free: 6.016 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.347e-05/1.044, allocations: 20.05 kB / 0.8295 GB, free: 6.004 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008039/1.045, allocations: 1.187 MB / 0.8307 GB, free: 4.809 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/1.045, allocations: 6.062 kB / 0.8307 GB, free: 4.809 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00349/1.048, allocations: 1.221 MB / 0.8319 GB, free: 4.086 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006554/1.049, allocations: 288.5 kB / 0.8322 GB, free: 3.836 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002586/1.049, allocations: 13.5 kB / 0.8322 GB, free: 3.828 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001209/1.05, allocations: 109.1 kB / 0.8323 GB, free: 3.781 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001675/1.051, allocations: 67.64 kB / 0.8324 GB, free: 3.742 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.47e-05/1.051, allocations: 28.27 kB / 0.8324 GB, free: 3.734 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0009809/1.052, allocations: 0.5855 MB / 0.833 GB, free: 3.242 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2e-07/1.052, allocations: 0 / 0.833 GB, free: 3.242 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001731/1.053, allocations: 483.1 kB / 0.8334 GB, free: 2.77 MB / 0.5919 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.0008374/1.054, allocations: 304.1 kB / 0.8337 GB, free: 2.496 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.005489/1.06, allocations: 1.68 MB / 0.8354 GB, free: 0.8164 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 8.416e-06/1.06, allocations: 0 / 0.8354 GB, free: 0.8164 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001787/1.062, allocations: 0.5533 MB / 0.8359 GB, free: 288 kB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002682/1.064, allocations: 433.7 kB / 0.8363 GB, free: 15.87 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004971/1.069, allocations: 1.948 MB / 0.8382 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007419/1.07, allocations: 1.039 MB / 0.8392 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004778/1.071, allocations: 99.33 kB / 0.8393 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of SimCode: time 1.463e-06/1.071, allocations: 4 kB / 0.8393 GB, free: 12.69 MB / 0.6075 GB Notification: Performance of Templates: time 0.03455/1.105, allocations: 25.11 MB / 0.8638 GB, free: 3.707 MB / 0.6231 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)