Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.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/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/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.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") translateModel(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001721/0.001721, allocations: 183 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/package.mo): time 0.7072/0.7072, allocations: 132.2 MB / 148.9 MB, free: 12.16 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.397/1.397, allocations: 222.9 MB / 403.3 MB, free: 7.102 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.001009/0.001009, allocations: 102 kB / 484.4 MB, free: 8.688 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001071/0.001071, allocations: 55.92 kB / 0.5618 GB, free: 71.06 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.1396, allocations: 80.21 MB / 0.6402 GB, free: 6.785 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.3499/0.4895, allocations: 70.03 MB / 0.7086 GB, free: 22.95 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.02363/0.5132, allocations: 18.99 MB / 0.7271 GB, free: 18.39 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003875/0.5171, allocations: 66.72 kB / 0.7272 GB, free: 18.37 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00229/0.5194, allocations: 0.6499 MB / 0.7278 GB, free: 17.96 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01124/0.5307, allocations: 2.606 MB / 0.7303 GB, free: 16.41 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004288/0.535, allocations: 1.485 MB / 0.7318 GB, free: 15.5 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.006028/0.541, allocations: 5.042 MB / 0.7367 GB, free: 13.47 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002154/0.5432, allocations: 1.185 MB / 0.7379 GB, free: 12.94 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003439/0.5467, allocations: 1.51 MB / 0.7394 GB, free: 12.23 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002095/0.5488, allocations: 1.155 MB / 0.7405 GB, free: 11.54 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003512/0.5491, allocations: 80.78 kB / 0.7406 GB, free: 11.54 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003287/0.5524, allocations: 1.236 MB / 0.7418 GB, free: 10.86 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004376/0.5529, allocations: 298 kB / 0.7421 GB, free: 10.63 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001346/0.5543, allocations: 0.8173 MB / 0.7428 GB, free: 10.09 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003813/0.5581, allocations: 3.029 MB / 0.7458 GB, free: 7.98 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.5581, allocations: 0 / 0.7458 GB, free: 7.98 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.5581, allocations: 7.938 kB / 0.7458 GB, free: 7.973 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.483e-05/0.5582, allocations: 0 / 0.7458 GB, free: 7.973 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.004388/0.5626, allocations: 2.026 MB / 0.7478 GB, free: 6.426 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.5626, allocations: 9.375 kB / 0.7478 GB, free: 6.426 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002329/0.565, allocations: 447.7 kB / 0.7482 GB, free: 6.219 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002606/0.5676, allocations: 1.507 MB / 0.7497 GB, free: 4.977 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003634/0.568, allocations: 134.7 kB / 0.7498 GB, free: 4.918 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001877/0.5682, allocations: 102.5 kB / 0.7499 GB, free: 4.887 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002458/0.5706, allocations: 1.3 MB / 0.7512 GB, free: 4.012 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.373e-05/0.5707, allocations: 7.922 kB / 0.7512 GB, free: 4.004 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.283e-05/0.5708, allocations: 42.88 kB / 0.7512 GB, free: 3.973 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.031e-05/0.5708, allocations: 25.09 kB / 0.7513 GB, free: 3.973 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002568/0.5734, allocations: 1.108 MB / 0.7523 GB, free: 3.41 MB / 490.7 MB 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.008157/0.5815, allocations: 7.132 MB / 0.7593 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003268/0.5848, allocations: 0.8054 MB / 0.7601 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006115/0.5855, allocations: 288.1 kB / 0.7604 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00135/0.5868, allocations: 1.722 MB / 0.7621 GB, free: 9.691 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.328e-05/0.5869, allocations: 46.81 kB / 0.7621 GB, free: 9.637 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=48): time 3.085e-06/0.5869, allocations: 4 kB / 0.7621 GB, free: 9.633 MB / 0.4948 GB Notification: Performance of matching and sorting (n=48): time 0.004886/0.5918, allocations: 1.331 MB / 0.7634 GB, free: 8.273 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.894e-05/0.5918, allocations: 59.78 kB / 0.7635 GB, free: 8.203 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002388/0.5942, allocations: 1.525 MB / 0.765 GB, free: 6.668 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.304e-05/0.5943, allocations: 37.7 kB / 0.765 GB, free: 6.625 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005833/0.5949, allocations: 0.6691 MB / 0.7656 GB, free: 5.949 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001479/0.5951, allocations: 169.6 kB / 0.7658 GB, free: 5.781 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000268/0.5953, allocations: 162.5 kB / 0.766 GB, free: 5.617 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.5955, allocations: 333.9 kB / 0.7663 GB, free: 5.285 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001016/0.5965, allocations: 365.8 kB / 0.7666 GB, free: 4.926 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001274/0.5978, allocations: 0.6282 MB / 0.7672 GB, free: 4.184 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001777/0.5996, allocations: 0.8522 MB / 0.7681 GB, free: 3.238 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.64e-06/0.5996, allocations: 0 / 0.7681 GB, free: 3.238 MB / 0.4948 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.004537/0.6041, allocations: 1.337 MB / 0.7694 GB, free: 1.891 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/0.6042, allocations: 8 kB / 0.7694 GB, free: 1.883 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/0.6042, allocations: 8 kB / 0.7694 GB, free: 1.875 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000902/0.6051, allocations: 216.7 kB / 0.7696 GB, free: 1.66 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007781/0.6059, allocations: 183.7 kB / 0.7698 GB, free: 1.48 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008779/0.6068, allocations: 0.7201 MB / 0.7705 GB, free: 0.7344 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001768/0.6086, allocations: 238.8 kB / 0.7707 GB, free: 0.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.487e-05/0.6087, allocations: 35.98 kB / 0.7707 GB, free: 476 kB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0005973/0.6093, allocations: 353.6 kB / 0.7711 GB, free: 112 kB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002535/0.6095, allocations: 154.1 kB / 0.7712 GB, free: 15.96 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002463/0.612, allocations: 1.141 MB / 0.7723 GB, free: 14.8 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.77e-05/0.612, allocations: 11.98 kB / 0.7723 GB, free: 14.79 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.6121, allocations: 3.938 kB / 0.7724 GB, free: 14.79 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.6121, allocations: 3.984 kB / 0.7724 GB, free: 14.78 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005175/0.6172, allocations: 2.502 MB / 0.7748 GB, free: 12.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.642e-06/0.6173, allocations: 96 / 0.7748 GB, free: 12.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003878/0.6177, allocations: 99.69 kB / 0.7749 GB, free: 12.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007987/0.6185, allocations: 216.8 kB / 0.7751 GB, free: 11.88 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.386e-05/0.6185, allocations: 15.98 kB / 0.7751 GB, free: 11.87 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001294/0.6198, allocations: 0.7709 MB / 0.7759 GB, free: 11.07 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.6198, allocations: 0 / 0.7759 GB, free: 11.07 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004963/0.6248, allocations: 2.419 MB / 0.7782 GB, free: 8.566 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006276/0.6255, allocations: 354.9 kB / 0.7786 GB, free: 8.199 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001701/0.6256, allocations: 15.94 kB / 0.7786 GB, free: 8.184 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009303/0.6266, allocations: 87.84 kB / 0.7787 GB, free: 8.098 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001048/0.6267, allocations: 44.44 kB / 0.7787 GB, free: 8.055 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.679e-05/0.6268, allocations: 27.98 kB / 0.7787 GB, free: 8.027 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001723/0.6285, allocations: 1.074 MB / 0.7798 GB, free: 6.957 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.1e-07/0.6285, allocations: 0 / 0.7798 GB, free: 6.957 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001446/0.63, allocations: 443.3 kB / 0.7802 GB, free: 6.523 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000937/0.6309, allocations: 485.4 kB / 0.7807 GB, free: 6.051 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002181/0.6331, allocations: 0.8328 MB / 0.7815 GB, free: 5.223 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.6331, allocations: 0 / 0.7815 GB, free: 5.223 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001299/0.6344, allocations: 439.5 kB / 0.7819 GB, free: 4.789 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003263/0.6377, allocations: 0.6931 MB / 0.7826 GB, free: 4.105 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004417/0.6421, allocations: 3.123 MB / 0.7856 GB, free: 0.918 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007271/0.6429, allocations: 1.188 MB / 0.7868 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001141/0.644, allocations: 256 kB / 0.787 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000274/0.6443, allocations: 119.3 kB / 0.7871 GB, free: 15.33 MB / 0.5261 GB Notification: Performance of SimCode: time 2.204e-06/0.6443, allocations: 0 / 0.7871 GB, free: 15.33 MB / 0.5261 GB Notification: Performance of Templates: time 0.04811/0.6924, allocations: 30.76 MB / 0.8172 GB, free: 0.8633 MB / 0.5417 GB make -j1 -f IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile (rm -f IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1)