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.0008487/0.0008486, allocations: 91.14 kB / 15.36 MB, free: 0.7383 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.006/0.006, allocations: 172.9 kB / 16.26 MB, free: 6.613 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.343/1.343, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7699/0.7699, allocations: 132.3 MB / 423.8 MB, free: 1.961 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000358/0.000358, allocations: 8.562 kB / 0.504 GB, free: 3.922 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4389/0.4392, allocations: 81.58 MB / 0.5837 GB, free: 4.055 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness): time 0.2445/0.6838, allocations: 195 MB / 0.7741 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01268/0.6965, allocations: 7.64 MB / 0.7816 GB, free: 5.109 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0021/0.6986, allocations: 35.75 kB / 0.7816 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002019/0.7007, allocations: 0.5672 MB / 0.7822 GB, free: 4.504 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005829/0.7065, allocations: 1.828 MB / 0.784 GB, free: 2.668 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003159/0.7097, allocations: 1.059 MB / 0.785 GB, free: 1.629 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004642/0.7144, allocations: 3.476 MB / 0.7884 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001638/0.716, allocations: 0.8229 MB / 0.7892 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003413/0.7194, allocations: 1.354 MB / 0.7905 GB, free: 11.94 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001996/0.7215, allocations: 0.8026 MB / 0.7913 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002828/0.7218, allocations: 43.94 kB / 0.7913 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003876/0.7256, allocations: 1.972 MB / 0.7933 GB, free: 9.113 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004917/0.7262, allocations: 258.9 kB / 0.7935 GB, free: 8.859 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001107/0.7273, allocations: 0.5573 MB / 0.794 GB, free: 8.293 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.004048/0.7313, allocations: 2.115 MB / 0.7961 GB, free: 6.172 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.7313, allocations: 3.938 kB / 0.7961 GB, free: 6.168 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.934e-06/0.7314, allocations: 0 / 0.7961 GB, free: 6.168 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 5.907e-05/0.7314, allocations: 0 / 0.7961 GB, free: 6.168 MB / 0.6231 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.00406/0.7355, allocations: 1.46 MB / 0.7975 GB, free: 4.652 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.7355, allocations: 11.97 kB / 0.7976 GB, free: 4.641 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002578/0.7381, allocations: 482.1 kB / 0.798 GB, free: 4.168 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00203/0.7402, allocations: 0.9174 MB / 0.7989 GB, free: 3.207 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007039/0.7409, allocations: 185.9 kB / 0.7991 GB, free: 3.023 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001953/0.7411, allocations: 71.98 kB / 0.7992 GB, free: 2.953 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00275/0.7438, allocations: 1.13 MB / 0.8003 GB, free: 1.805 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.201e-05/0.7439, allocations: 4 kB / 0.8003 GB, free: 1.801 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001058/0.744, allocations: 28 kB / 0.8003 GB, free: 1.773 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.35e-05/0.744, allocations: 33.98 kB / 0.8003 GB, free: 1.738 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003498/0.7476, allocations: 1.28 MB / 0.8016 GB, free: 468 kB / 0.6231 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.007071/0.7546, allocations: 4.157 MB / 0.8056 GB, free: 12.01 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002747/0.7574, allocations: 0.9343 MB / 0.8065 GB, free: 11.06 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001412/0.7588, allocations: 0.5373 MB / 0.8071 GB, free: 10.52 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000829/0.7597, allocations: 0.6488 MB / 0.8077 GB, free: 9.746 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001688/0.7614, allocations: 0.6343 MB / 0.8083 GB, free: 9.098 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=57): time 3.075e-06/0.7614, allocations: 0 / 0.8083 GB, free: 9.098 MB / 0.6387 GB Notification: Performance of matching and sorting (n=57): time 0.004699/0.7661, allocations: 1.532 MB / 0.8098 GB, free: 7.559 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.164e-05/0.7662, allocations: 85.61 kB / 0.8099 GB, free: 7.457 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00131/0.7675, allocations: 0.8395 MB / 0.8107 GB, free: 6.594 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.000112/0.7676, allocations: 41.7 kB / 0.8108 GB, free: 6.547 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004286/0.7681, allocations: 424.4 kB / 0.8112 GB, free: 6.129 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002106/0.7683, allocations: 197.2 kB / 0.8114 GB, free: 5.934 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000113/0.7684, allocations: 45.7 kB / 0.8114 GB, free: 5.883 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.7685, allocations: 330 kB / 0.8117 GB, free: 5.555 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001318/0.7699, allocations: 460.8 kB / 0.8121 GB, free: 5.105 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001408/0.7713, allocations: 0.5877 MB / 0.8127 GB, free: 4.473 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002656/0.774, allocations: 0.9875 MB / 0.8137 GB, free: 3.457 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-06/0.774, allocations: 3.938 kB / 0.8137 GB, free: 3.453 MB / 0.6387 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.003199/0.7772, allocations: 1.167 MB / 0.8148 GB, free: 2.27 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001183/0.7773, allocations: 175 kB / 0.815 GB, free: 2.066 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.7773, allocations: 0 / 0.815 GB, free: 2.066 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.078e-05/0.7774, allocations: 4.047 kB / 0.815 GB, free: 2.062 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001462/0.7788, allocations: 263.7 kB / 0.8153 GB, free: 1.805 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007125/0.7795, allocations: 1.192 MB / 0.8164 GB, free: 0.5664 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00131/0.7809, allocations: 195.3 kB / 0.8166 GB, free: 384 kB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.453e-05/0.781, allocations: 23.98 kB / 0.8166 GB, free: 360 kB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 9.999e-06/0.781, allocations: 4 kB / 0.8166 GB, free: 356 kB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.3914/1.172, allocations: 1.056 MB / 0.8177 GB, free: 28 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/1.172, allocations: 2.641 kB / 0.8177 GB, free: 28 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/1.172, allocations: 4.406 kB / 0.8177 GB, free: 28 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001179/1.174, allocations: 225.7 kB / 0.8179 GB, free: 28 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.196e-05/1.174, allocations: 4.906 kB / 0.8179 GB, free: 28 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001339/1.175, allocations: 184 kB / 0.8181 GB, free: 28 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.619e-05/1.175, allocations: 28.94 kB / 0.8181 GB, free: 28 MB / 0.6387 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.0006433/1.176, allocations: 346.3 kB / 0.8184 GB, free: 27.81 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002181/1.176, allocations: 100.1 kB / 0.8185 GB, free: 27.81 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003849/1.18, allocations: 1.209 MB / 0.8197 GB, free: 27.77 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.634e-05/1.18, allocations: 9.109 kB / 0.8197 GB, free: 27.77 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/1.18, allocations: 1.25 kB / 0.8197 GB, free: 27.77 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.101e-05/1.18, allocations: 7.484 kB / 0.8197 GB, free: 27.77 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005529/1.185, allocations: 2.388 MB / 0.822 GB, free: 27.37 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-05/1.185, allocations: 3 kB / 0.822 GB, free: 27.37 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001117/1.187, allocations: 219.5 kB / 0.8223 GB, free: 27.37 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.336e-05/1.187, allocations: 8.812 kB / 0.8223 GB, free: 27.37 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.903e-05/1.187, allocations: 22.62 kB / 0.8223 GB, free: 27.37 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004224/1.187, allocations: 1.188 MB / 0.8234 GB, free: 26.21 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/1.187, allocations: 7.5 kB / 0.8235 GB, free: 26.21 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003216/1.19, allocations: 1.292 MB / 0.8247 GB, free: 25.95 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005665/1.191, allocations: 293.6 kB / 0.825 GB, free: 25.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00022/1.191, allocations: 20.88 kB / 0.825 GB, free: 25.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001305/1.193, allocations: 160.2 kB / 0.8252 GB, free: 25.79 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001649/1.193, allocations: 53.28 kB / 0.8252 GB, free: 25.79 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.303e-05/1.193, allocations: 33.5 kB / 0.8253 GB, free: 25.79 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001048/1.194, allocations: 0.5827 MB / 0.8258 GB, free: 25.68 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.3e-07/1.194, allocations: 4 kB / 0.8258 GB, free: 25.68 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001852/1.196, allocations: 486.3 kB / 0.8263 GB, free: 25.64 MB / 0.6387 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.0008026/1.197, allocations: 296.6 kB / 0.8266 GB, free: 25.53 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.005468/1.202, allocations: 1.747 MB / 0.8283 GB, free: 25.35 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 8.205e-06/1.202, allocations: 2.734 kB / 0.8283 GB, free: 25.35 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001833/1.204, allocations: 0.6015 MB / 0.8289 GB, free: 25.33 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00315/1.207, allocations: 452.7 kB / 0.8293 GB, free: 25.31 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005045/1.212, allocations: 2.303 MB / 0.8315 GB, free: 24.2 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006767/1.213, allocations: 1.041 MB / 0.8326 GB, free: 23.48 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001618/1.214, allocations: 293.4 kB / 0.8328 GB, free: 23.42 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003537/1.215, allocations: 81.66 kB / 0.8329 GB, free: 23.41 MB / 0.6387 GB Notification: Performance of SimCode: time 8.61e-07/1.215, allocations: 1.031 kB / 0.8329 GB, free: 23.41 MB / 0.6387 GB Notification: Performance of Templates: time 0.03443/1.249, allocations: 18.67 MB / 0.8512 GB, free: 22.25 MB / 0.6387 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)