Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.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.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva") translateModel(IDEAS.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 91.38 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.009813/0.009813, allocations: 169 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.541/1.541, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7795/0.7795, allocations: 132.4 MB / 423.8 MB, free: 1.953 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004502/0.0004502, allocations: 13.03 kB / 0.504 GB, free: 3.918 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4981/0.4986, allocations: 81.57 MB / 0.5837 GB, free: 4.055 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Examples.Carnot_TEva): time 0.06554/0.5642, allocations: 59.7 MB / 0.642 GB, free: 4.594 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01717/0.5814, allocations: 11.89 MB / 0.6536 GB, free: 8.672 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003152/0.5846, allocations: 51.62 kB / 0.6536 GB, free: 8.621 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002512/0.5871, allocations: 0.5477 MB / 0.6542 GB, free: 8.07 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006361/0.5935, allocations: 1.8 MB / 0.6559 GB, free: 6.266 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003219/0.5968, allocations: 1.082 MB / 0.657 GB, free: 5.195 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.005214/0.602, allocations: 3.902 MB / 0.6608 GB, free: 1.285 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001881/0.6039, allocations: 0.898 MB / 0.6617 GB, free: 360 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002984/0.6069, allocations: 1.128 MB / 0.6628 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001737/0.6086, allocations: 0.8553 MB / 0.6636 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002813/0.6089, allocations: 40 kB / 0.6636 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003289/0.6122, allocations: 1.337 MB / 0.6649 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004588/0.6127, allocations: 206.9 kB / 0.6651 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001471/0.6142, allocations: 0.6311 MB / 0.6658 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004056/0.6183, allocations: 2.192 MB / 0.6679 GB, free: 9.938 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.6183, allocations: 4 kB / 0.6679 GB, free: 9.934 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.953e-06/0.6183, allocations: 0 / 0.6679 GB, free: 9.934 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.341e-05/0.6184, allocations: 0 / 0.6679 GB, free: 9.934 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.002963/0.6213, allocations: 1.481 MB / 0.6693 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.6214, allocations: 19.95 kB / 0.6694 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002309/0.6237, allocations: 474.8 kB / 0.6698 GB, free: 7.91 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002236/0.626, allocations: 1.124 MB / 0.6709 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003753/0.6263, allocations: 125.9 kB / 0.671 GB, free: 6.605 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001587/0.6265, allocations: 84 kB / 0.6711 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002186/0.6287, allocations: 1.001 MB / 0.6721 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.149e-05/0.6288, allocations: 7.875 kB / 0.6721 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.607e-05/0.6288, allocations: 32 kB / 0.6721 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.88e-05/0.6289, allocations: 24 kB / 0.6722 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002413/0.6313, allocations: 0.9094 MB / 0.673 GB, free: 4.504 MB / 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.006684/0.638, allocations: 4.893 MB / 0.6778 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003601/0.6416, allocations: 0.8897 MB / 0.6787 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007607/0.6424, allocations: 324.6 kB / 0.679 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006539/0.643, allocations: 0.9102 MB / 0.6799 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.217e-05/0.6431, allocations: 38.56 kB / 0.6799 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=43): time 2.134e-06/0.6431, allocations: 0 / 0.6799 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43): time 0.007503/0.6506, allocations: 1.954 MB / 0.6818 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.201e-05/0.6506, allocations: 55.41 kB / 0.6819 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001582/0.6522, allocations: 1.055 MB / 0.6829 GB, free: 9.75 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.529e-05/0.6523, allocations: 41.69 kB / 0.683 GB, free: 9.703 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004074/0.6527, allocations: 0.5157 MB / 0.6835 GB, free: 9.184 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001393/0.6529, allocations: 153.8 kB / 0.6836 GB, free: 9.031 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.089e-05/0.653, allocations: 49.69 kB / 0.6837 GB, free: 8.977 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.6531, allocations: 322 kB / 0.684 GB, free: 8.656 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009323/0.654, allocations: 328.9 kB / 0.6843 GB, free: 8.336 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00107/0.6551, allocations: 0.5258 MB / 0.6848 GB, free: 7.73 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001729/0.6568, allocations: 0.7325 MB / 0.6855 GB, free: 6.941 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/0.6569, allocations: 0 / 0.6855 GB, free: 6.941 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003679/0.6605, allocations: 1.208 MB / 0.6867 GB, free: 5.723 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001361/0.6607, allocations: 229.4 kB / 0.6869 GB, free: 5.438 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.6607, allocations: 4 kB / 0.6869 GB, free: 5.434 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001278/0.662, allocations: 332.6 kB / 0.6872 GB, free: 5.105 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005531/0.6626, allocations: 127.8 kB / 0.6873 GB, free: 4.98 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001572/0.6641, allocations: 0.9449 MB / 0.6883 GB, free: 4.012 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001395/0.6655, allocations: 195.2 kB / 0.6885 GB, free: 3.82 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.405e-05/0.6656, allocations: 27.98 kB / 0.6885 GB, free: 3.793 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.518e-06/0.6657, allocations: 4 kB / 0.6885 GB, free: 3.789 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003571/0.6692, allocations: 1.066 MB / 0.6895 GB, free: 2.719 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/0.6693, allocations: 4 kB / 0.6895 GB, free: 2.715 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001153/0.6704, allocations: 329 kB / 0.6898 GB, free: 2.391 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005529/0.671, allocations: 131.8 kB / 0.69 GB, free: 2.262 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001589/0.6726, allocations: 0.9342 MB / 0.6909 GB, free: 1.305 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0013/0.6739, allocations: 167.3 kB / 0.691 GB, free: 1.141 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.881e-05/0.674, allocations: 28 kB / 0.6911 GB, free: 1.113 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (51): * Single equations (assignments): 50 * 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.0006889/0.6747, allocations: 356.9 kB / 0.6914 GB, free: 0.7539 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002888/0.675, allocations: 106.7 kB / 0.6915 GB, free: 0.6484 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002586/0.6776, allocations: 0.984 MB / 0.6925 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.51e-05/0.6776, allocations: 4 kB / 0.6925 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/0.6776, allocations: 7.938 kB / 0.6925 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.755e-06/0.6776, allocations: 3.984 kB / 0.6925 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005534/0.6832, allocations: 2.258 MB / 0.6947 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.905e-06/0.6832, allocations: 4 kB / 0.6947 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002903/0.6835, allocations: 72.17 kB / 0.6948 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001041/0.6846, allocations: 322.8 kB / 0.6951 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.878e-05/0.6846, allocations: 19.98 kB / 0.6951 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001639/0.6863, allocations: 0.9698 MB / 0.696 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.6863, allocations: 0 / 0.696 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003815/0.6901, allocations: 1.268 MB / 0.6973 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005268/0.6906, allocations: 275.5 kB / 0.6975 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001732/0.6908, allocations: 12 kB / 0.6976 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009593/0.6918, allocations: 115.8 kB / 0.6977 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.208e-05/0.6919, allocations: 39.83 kB / 0.6977 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.838e-05/0.6919, allocations: 27.92 kB / 0.6977 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00129/0.6932, allocations: 0.743 MB / 0.6985 GB, free: 9.34 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6932, allocations: 3.938 kB / 0.6985 GB, free: 9.336 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001653/0.6949, allocations: 0.5614 MB / 0.699 GB, free: 8.773 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (33): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.000899/0.6958, allocations: 371.7 kB / 0.6994 GB, free: 8.41 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003262/0.6991, allocations: 1.169 MB / 0.7005 GB, free: 7.242 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.6991, allocations: 0 / 0.7005 GB, free: 7.242 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0009064/0.7, allocations: 374.5 kB / 0.7009 GB, free: 6.875 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002716/0.7027, allocations: 0.4902 MB / 0.7013 GB, free: 6.391 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005908/0.7087, allocations: 2.549 MB / 0.7038 GB, free: 3.785 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007649/0.7094, allocations: 1.062 MB / 0.7049 GB, free: 2.695 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0009574/0.7104, allocations: 223.9 kB / 0.7051 GB, free: 2.477 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002038/0.7106, allocations: 75.42 kB / 0.7051 GB, free: 2.406 MB / 0.5294 GB Notification: Performance of SimCode: time 6.51e-07/0.7106, allocations: 3.938 kB / 0.7052 GB, free: 2.402 MB / 0.5294 GB Notification: Performance of Templates: time 0.04014/0.7508, allocations: 23.8 MB / 0.7284 GB, free: 10.92 MB / 0.5606 GB make -j1 -f IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.makefile (rm -f IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.sim & ./IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1)