Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.Validation.Carnot_TEva_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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_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.001471/0.001471, allocations: 110.2 kB / 16.37 MB, free: 6.004 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.001634/0.001634, allocations: 197.1 kB / 17.31 MB, free: 5.617 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.506/1.506, allocations: 222.9 MB / 241 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8447/0.8447, allocations: 132.2 MB / 423.3 MB, free: 6.602 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 63.91 kB / 0.5032 GB, free: 10.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4175/0.4188, allocations: 80.19 MB / 0.5815 GB, free: 27.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.05273/0.4716, allocations: 61.18 MB / 0.6412 GB, free: 0.8906 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01859/0.4902, allocations: 11.98 MB / 0.6529 GB, free: 4.883 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002909/0.4931, allocations: 63.62 kB / 0.653 GB, free: 4.82 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002412/0.4956, allocations: 0.683 MB / 0.6537 GB, free: 4.133 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005861/0.5015, allocations: 1.962 MB / 0.6556 GB, free: 2.164 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003386/0.5049, allocations: 1.204 MB / 0.6568 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.004659/0.5096, allocations: 3.095 MB / 0.6598 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002025/0.5117, allocations: 1.128 MB / 0.6609 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004254/0.5159, allocations: 1.328 MB / 0.6622 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00174/0.5177, allocations: 0.9217 MB / 0.6631 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001917/0.5179, allocations: 120 kB / 0.6632 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003009/0.5209, allocations: 1.45 MB / 0.6646 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003986/0.5213, allocations: 294.8 kB / 0.6649 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008411/0.5222, allocations: 0.6958 MB / 0.6656 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004175/0.5264, allocations: 2.341 MB / 0.6679 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 9.167e-06/0.5264, allocations: 3.984 kB / 0.6679 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.884e-06/0.5264, allocations: 0 / 0.6679 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.992e-05/0.5265, allocations: 0 / 0.6679 GB, free: 5.543 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.003719/0.5302, allocations: 1.738 MB / 0.6696 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.5302, allocations: 12.03 kB / 0.6696 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002515/0.5328, allocations: 454.8 kB / 0.67 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002656/0.5354, allocations: 1.179 MB / 0.6712 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.113e-05/0.5355, allocations: 62 kB / 0.6712 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001165/0.5357, allocations: 84 kB / 0.6713 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002117/0.5378, allocations: 1.002 MB / 0.6723 GB, free: 0.875 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.022e-05/0.5378, allocations: 0 / 0.6723 GB, free: 0.875 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.122e-05/0.5379, allocations: 32 kB / 0.6723 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.75e-05/0.5379, allocations: 20 kB / 0.6723 GB, free: 0.8242 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002464/0.5404, allocations: 0.9329 MB / 0.6732 GB, free: 15.89 MB / 0.5137 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.006851/0.5473, allocations: 4.667 MB / 0.6778 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003684/0.551, allocations: 0.9814 MB / 0.6788 GB, free: 9.883 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001015/0.552, allocations: 409.9 kB / 0.6791 GB, free: 9.477 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009686/0.553, allocations: 1.017 MB / 0.6801 GB, free: 8.238 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.224e-05/0.553, allocations: 39 kB / 0.6802 GB, free: 8.191 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=53): time 2.134e-06/0.553, allocations: 0 / 0.6802 GB, free: 8.191 MB / 0.5137 GB Notification: Performance of matching and sorting (n=53): time 0.007234/0.5603, allocations: 1.904 MB / 0.682 GB, free: 6.258 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.731e-05/0.5603, allocations: 59.84 kB / 0.6821 GB, free: 6.188 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001281/0.5616, allocations: 0.9591 MB / 0.683 GB, free: 5.211 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 7.661e-05/0.5617, allocations: 37.7 kB / 0.6831 GB, free: 5.168 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003657/0.5621, allocations: 0.5041 MB / 0.6836 GB, free: 4.66 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001545/0.5623, allocations: 181.3 kB / 0.6837 GB, free: 4.48 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002352/0.5625, allocations: 134 kB / 0.6839 GB, free: 4.344 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.5627, allocations: 326 kB / 0.6842 GB, free: 4.02 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009962/0.5637, allocations: 354.9 kB / 0.6845 GB, free: 3.672 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001098/0.5648, allocations: 0.509 MB / 0.685 GB, free: 3.105 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001838/0.5666, allocations: 0.7463 MB / 0.6857 GB, free: 2.32 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.5666, allocations: 3.938 kB / 0.6857 GB, free: 2.316 MB / 0.5137 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00272/0.5694, allocations: 1.057 MB / 0.6868 GB, free: 1.254 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.5694, allocations: 4 kB / 0.6868 GB, free: 1.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.5694, allocations: 4 kB / 0.6868 GB, free: 1.246 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001165/0.5706, allocations: 308.5 kB / 0.6871 GB, free: 0.9414 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006081/0.5712, allocations: 127.8 kB / 0.6872 GB, free: 0.8164 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001328/0.5725, allocations: 0.8983 MB / 0.6881 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001011/0.5736, allocations: 123.3 kB / 0.6882 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.74e-05/0.5736, allocations: 27.98 kB / 0.6882 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001317/0.575, allocations: 0.5556 MB / 0.6888 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001088/0.5761, allocations: 0.499 MB / 0.6892 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001824/0.5779, allocations: 0.7463 MB / 0.69 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.925e-06/0.5779, allocations: 0 / 0.69 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.002772/0.5807, allocations: 1.049 MB / 0.691 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.5807, allocations: 7.938 kB / 0.691 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.5807, allocations: 4 kB / 0.691 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009927/0.5817, allocations: 296.8 kB / 0.6913 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006156/0.5824, allocations: 139.8 kB / 0.6914 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001326/0.5837, allocations: 0.8802 MB / 0.6923 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001011/0.5847, allocations: 111.5 kB / 0.6924 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.022e-05/0.5848, allocations: 27.98 kB / 0.6924 GB, free: 11.3 MB / 0.5294 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.0002575/0.5851, allocations: 220.1 kB / 0.6926 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001923/0.5853, allocations: 110.6 kB / 0.6927 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002926/0.5882, allocations: 1.136 MB / 0.6938 GB, free: 9.828 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.822e-05/0.5882, allocations: 12 kB / 0.6939 GB, free: 9.816 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.5883, allocations: 0 / 0.6939 GB, free: 9.816 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.038e-05/0.5883, allocations: 3.984 kB / 0.6939 GB, free: 9.812 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004591/0.5929, allocations: 2.253 MB / 0.6961 GB, free: 7.484 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.333e-06/0.5929, allocations: 0 / 0.6961 GB, free: 7.484 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005341/0.5934, allocations: 108 kB / 0.6962 GB, free: 7.379 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009102/0.5943, allocations: 287.4 kB / 0.6964 GB, free: 7.098 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.722e-05/0.5944, allocations: 15.98 kB / 0.6964 GB, free: 7.082 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001365/0.5958, allocations: 0.9268 MB / 0.6974 GB, free: 6.129 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.157e-06/0.5958, allocations: 7.969 kB / 0.6974 GB, free: 6.121 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003464/0.5993, allocations: 1.284 MB / 0.6986 GB, free: 4.793 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004997/0.5998, allocations: 275.5 kB / 0.6989 GB, free: 4.504 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001359/0.5999, allocations: 20 kB / 0.6989 GB, free: 4.484 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000795/0.6007, allocations: 75.91 kB / 0.699 GB, free: 4.41 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.718e-05/0.6008, allocations: 48.25 kB / 0.699 GB, free: 4.363 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.543e-05/0.6009, allocations: 23.98 kB / 0.699 GB, free: 4.34 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0008923/0.6018, allocations: 0.6676 MB / 0.6997 GB, free: 3.664 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.61e-07/0.6018, allocations: 0 / 0.6997 GB, free: 3.664 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001493/0.6033, allocations: 0.5731 MB / 0.7003 GB, free: 3.09 MB / 0.5294 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.0007955/0.6041, allocations: 389.5 kB / 0.7006 GB, free: 2.715 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003566/0.6077, allocations: 1.299 MB / 0.7019 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.6077, allocations: 0 / 0.7019 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001159/0.6089, allocations: 456.8 kB / 0.7023 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002058/0.6109, allocations: 497 kB / 0.7028 GB, free: 0.5078 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003589/0.6145, allocations: 1.899 MB / 0.7047 GB, free: 14.56 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006109/0.6152, allocations: 1.066 MB / 0.7057 GB, free: 13.46 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0008913/0.6161, allocations: 231.4 kB / 0.7059 GB, free: 13.24 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002202/0.6163, allocations: 83.41 kB / 0.706 GB, free: 13.16 MB / 0.545 GB Notification: Performance of SimCode: time 6.11e-07/0.6163, allocations: 0 / 0.706 GB, free: 13.16 MB / 0.545 GB Notification: Performance of Templates: time 0.0397/0.656, allocations: 24.64 MB / 0.7301 GB, free: 4.82 MB / 0.5606 GB make -j1 -f IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.makefile (rm -f IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; mkfifo IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe >> ../files/IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.sim & ./IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe 2>&1)