Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.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.Chillers.Validation.Carnot_TEva_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow") translateModel(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001036/0.001036, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001283/0.001283, allocations: 186.5 kB / 16.92 MB, free: 6.77 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.308/1.308, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9331/0.9331, allocations: 135.3 MB / 427.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003526/0.0003527, allocations: 11.98 kB / 0.5082 GB, free: 4.75 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1494/0.1498, allocations: 82.31 MB / 0.5886 GB, free: 2.617 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.3045/0.4544, allocations: 59.72 MB / 0.6469 GB, free: 17.61 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01326/0.4677, allocations: 11.91 MB / 0.6586 GB, free: 9.066 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001999/0.4697, allocations: 55.06 kB / 0.6586 GB, free: 9.043 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001591/0.4713, allocations: 0.5434 MB / 0.6591 GB, free: 8.715 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004596/0.4759, allocations: 1.82 MB / 0.6609 GB, free: 7.621 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002363/0.4783, allocations: 1.067 MB / 0.662 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004132/0.4824, allocations: 3.902 MB / 0.6658 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001446/0.4839, allocations: 0.9182 MB / 0.6667 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002371/0.4863, allocations: 1.114 MB / 0.6678 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001656/0.488, allocations: 0.8772 MB / 0.6686 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001915/0.4882, allocations: 43.59 kB / 0.6686 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002964/0.4912, allocations: 1.331 MB / 0.6699 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002882/0.4915, allocations: 215.7 kB / 0.6702 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009239/0.4924, allocations: 0.6399 MB / 0.6708 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002667/0.4951, allocations: 1.707 MB / 0.6724 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.4951, allocations: 5.062 kB / 0.6725 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.853e-06/0.4951, allocations: 0 / 0.6725 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.44e-05/0.4951, allocations: 0 / 0.6725 GB, free: 2.801 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.003058/0.4982, allocations: 1.5 MB / 0.6739 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.4982, allocations: 10.17 kB / 0.6739 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002831/0.5011, allocations: 0.5158 MB / 0.6744 GB, free: 1.68 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002396/0.5035, allocations: 1.139 MB / 0.6755 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003668/0.5039, allocations: 125 kB / 0.6757 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001542/0.504, allocations: 82.62 kB / 0.6757 GB, free: 0.9023 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002321/0.5064, allocations: 1.037 MB / 0.6768 GB, free: 472 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.088e-05/0.5064, allocations: 2.469 kB / 0.6768 GB, free: 472 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.285e-05/0.5065, allocations: 31.5 kB / 0.6768 GB, free: 448 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.98e-05/0.5065, allocations: 19.72 kB / 0.6768 GB, free: 448 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002661/0.5092, allocations: 1.002 MB / 0.6778 GB, free: 124 kB / 0.4981 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.006989/0.5162, allocations: 4.704 MB / 0.6824 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004455/0.5207, allocations: 1.124 MB / 0.6835 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001209/0.5219, allocations: 450 kB / 0.6839 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001014/0.5229, allocations: 1.035 MB / 0.6849 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.942e-05/0.523, allocations: 42.23 kB / 0.685 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=53): time 2.475e-06/0.523, allocations: 0 / 0.685 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of matching and sorting (n=53): time 0.008741/0.5317, allocations: 2.149 MB / 0.6871 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.53e-05/0.5318, allocations: 57.92 kB / 0.6871 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001436/0.5332, allocations: 0.9402 MB / 0.688 GB, free: 9.992 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 9.978e-05/0.5333, allocations: 41.27 kB / 0.6881 GB, free: 9.949 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000437/0.5338, allocations: 0.5074 MB / 0.6886 GB, free: 9.547 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001954/0.534, allocations: 183.8 kB / 0.6887 GB, free: 9.402 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.95e-05/0.5341, allocations: 48.41 kB / 0.6888 GB, free: 9.371 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001174/0.5342, allocations: 326.2 kB / 0.6891 GB, free: 9.059 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00114/0.5354, allocations: 384.8 kB / 0.6895 GB, free: 8.945 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001259/0.5366, allocations: 0.5374 MB / 0.69 GB, free: 8.664 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002248/0.5389, allocations: 0.8162 MB / 0.6908 GB, free: 8.324 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.5389, allocations: 1.344 kB / 0.6908 GB, free: 8.324 MB / 0.5137 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003326/0.5422, allocations: 1.135 MB / 0.6919 GB, free: 7.93 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001084/0.5424, allocations: 170.9 kB / 0.6921 GB, free: 7.734 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.5424, allocations: 3.031 kB / 0.6921 GB, free: 7.734 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001368/0.5438, allocations: 325.5 kB / 0.6924 GB, free: 7.66 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006842/0.5445, allocations: 145.3 kB / 0.6925 GB, free: 7.645 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001577/0.546, allocations: 0.9474 MB / 0.6934 GB, free: 6.977 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001393/0.5474, allocations: 180.9 kB / 0.6936 GB, free: 6.918 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.514e-05/0.5475, allocations: 28.7 kB / 0.6936 GB, free: 6.914 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.018e-05/0.5476, allocations: 4.406 kB / 0.6936 GB, free: 6.914 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002926/0.5505, allocations: 1.004 MB / 0.6946 GB, free: 6.602 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.5505, allocations: 2.188 kB / 0.6946 GB, free: 6.602 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001125/0.5516, allocations: 315.4 kB / 0.6949 GB, free: 6.527 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006556/0.5523, allocations: 145.9 kB / 0.6951 GB, free: 6.512 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001509/0.5538, allocations: 0.9324 MB / 0.696 GB, free: 5.852 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001383/0.5552, allocations: 171.2 kB / 0.6961 GB, free: 5.805 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.708e-05/0.5553, allocations: 26.03 kB / 0.6962 GB, free: 5.801 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (55): * Single equations (assignments): 54 * 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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0006505/0.556, allocations: 355.2 kB / 0.6965 GB, free: 5.512 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002263/0.5562, allocations: 107.8 kB / 0.6966 GB, free: 5.457 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003417/0.5596, allocations: 1.226 MB / 0.6978 GB, free: 5.035 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.66e-05/0.5597, allocations: 5.781 kB / 0.6978 GB, free: 5.035 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.5597, allocations: 5.188 kB / 0.6978 GB, free: 5.031 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/0.5597, allocations: 3.188 kB / 0.6978 GB, free: 5.031 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004987/0.5647, allocations: 2.329 MB / 0.7001 GB, free: 3.945 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.928e-06/0.5647, allocations: 6 kB / 0.7001 GB, free: 3.941 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005626/0.5653, allocations: 112.2 kB / 0.7002 GB, free: 3.934 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001089/0.5664, allocations: 324.5 kB / 0.7005 GB, free: 3.852 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.783e-05/0.5665, allocations: 18.44 kB / 0.7005 GB, free: 3.844 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001551/0.568, allocations: 0.975 MB / 0.7015 GB, free: 3.164 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.568, allocations: 1.547 kB / 0.7015 GB, free: 3.164 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004123/0.5722, allocations: 1.4 MB / 0.7028 GB, free: 2.48 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006287/0.5728, allocations: 287.8 kB / 0.7031 GB, free: 2.227 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001347/0.573, allocations: 18.91 kB / 0.7031 GB, free: 2.211 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009822/0.5739, allocations: 128.9 kB / 0.7033 GB, free: 2.156 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.748e-05/0.5741, allocations: 33.95 kB / 0.7033 GB, free: 2.141 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.945e-05/0.5741, allocations: 28.41 kB / 0.7033 GB, free: 2.129 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0009742/0.5751, allocations: 0.6706 MB / 0.704 GB, free: 1.738 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5751, allocations: 4 kB / 0.704 GB, free: 1.734 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001572/0.5767, allocations: 0.5677 MB / 0.7045 GB, free: 1.609 MB / 0.5137 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 (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007754/0.5775, allocations: 377.1 kB / 0.7049 GB, free: 1.398 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003943/0.5814, allocations: 1.39 MB / 0.7063 GB, free: 0.7969 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.5815, allocations: 1.094 kB / 0.7063 GB, free: 0.7969 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001266/0.5827, allocations: 498.5 kB / 0.7067 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0029/0.5856, allocations: 0.5025 MB / 0.7072 GB, free: 328 kB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004085/0.5897, allocations: 2.408 MB / 0.7096 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000597/0.5904, allocations: 1.065 MB / 0.7106 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003446/0.5907, allocations: 88.17 kB / 0.7107 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of SimCode: time 5.51e-07/0.5907, allocations: 0 / 0.7107 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of Templates: time 0.03188/0.6226, allocations: 23.85 MB / 0.734 GB, free: 6.617 MB / 0.545 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.sim & ./IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe 2>&1)