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.0009251/0.0009251, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001166/0.001166, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.306/1.306, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7415/0.7415, allocations: 132.4 MB / 423.4 MB, free: 2.062 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002811/0.0002811, allocations: 8 kB / 0.5034 GB, free: 4.285 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3407/0.341, allocations: 81.58 MB / 0.5831 GB, free: 3.98 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.05237/0.3934, allocations: 56.49 MB / 0.6382 GB, free: 7.992 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01434/0.4078, allocations: 11.21 MB / 0.6492 GB, free: 12.77 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001718/0.4095, allocations: 51.62 kB / 0.6492 GB, free: 12.71 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001557/0.4111, allocations: 460.9 kB / 0.6497 GB, free: 12.26 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00405/0.4152, allocations: 1.535 MB / 0.6512 GB, free: 10.72 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002337/0.4175, allocations: 0.8659 MB / 0.652 GB, free: 9.867 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003766/0.4213, allocations: 3.397 MB / 0.6553 GB, free: 6.461 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001333/0.4226, allocations: 0.8144 MB / 0.6561 GB, free: 5.621 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001962/0.4246, allocations: 1.042 MB / 0.6571 GB, free: 4.574 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001326/0.426, allocations: 0.8205 MB / 0.6579 GB, free: 3.75 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000181/0.4261, allocations: 44 kB / 0.658 GB, free: 3.707 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002157/0.4283, allocations: 1.099 MB / 0.6591 GB, free: 2.605 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002474/0.4286, allocations: 199 kB / 0.6592 GB, free: 2.41 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003768/0.429, allocations: 285 kB / 0.6595 GB, free: 2.125 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001813/0.4308, allocations: 1.652 MB / 0.6611 GB, free: 480 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.4308, allocations: 0 / 0.6611 GB, free: 480 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.4308, allocations: 4 kB / 0.6611 GB, free: 476 kB / 494.1 MB Notification: Performance of Transformations before backend: time 4.04e-05/0.4308, allocations: 4 kB / 0.6611 GB, free: 472 kB / 494.1 MB 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.00271/0.4336, allocations: 1.512 MB / 0.6626 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.27e-05/0.4336, allocations: 8.031 kB / 0.6626 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002322/0.4359, allocations: 0.5174 MB / 0.6631 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002039/0.438, allocations: 1.094 MB / 0.6642 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003174/0.4383, allocations: 125.9 kB / 0.6643 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001281/0.4384, allocations: 80 kB / 0.6644 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002056/0.4405, allocations: 1.033 MB / 0.6654 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.749e-05/0.4405, allocations: 0 / 0.6654 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.842e-05/0.4406, allocations: 32 kB / 0.6654 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.902e-05/0.4407, allocations: 20 kB / 0.6655 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00244/0.4431, allocations: 0.9953 MB / 0.6664 GB, free: 10.9 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.005565/0.4487, allocations: 4.691 MB / 0.671 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003706/0.4524, allocations: 1.133 MB / 0.6721 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009836/0.4534, allocations: 437.9 kB / 0.6725 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008736/0.4543, allocations: 1.033 MB / 0.6735 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.384e-05/0.4543, allocations: 35 kB / 0.6736 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=53): time 1.924e-06/0.4543, allocations: 8 kB / 0.6736 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of matching and sorting (n=53): time 0.006981/0.4613, allocations: 2.139 MB / 0.6757 GB, free: 0.8086 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.107e-05/0.4614, allocations: 55.84 kB / 0.6757 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001106/0.4625, allocations: 0.9395 MB / 0.6766 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.476e-05/0.4625, allocations: 37.7 kB / 0.6767 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003791/0.4629, allocations: 0.5079 MB / 0.6772 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001558/0.4631, allocations: 189.3 kB / 0.6774 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.018e-05/0.4631, allocations: 8 kB / 0.6774 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.939e-05/0.4632, allocations: 333.9 kB / 0.6777 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009623/0.4642, allocations: 372.9 kB / 0.678 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00106/0.4653, allocations: 0.5381 MB / 0.6786 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009567/0.4662, allocations: 394 kB / 0.6789 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.135e-06/0.4663, allocations: 4 kB / 0.6789 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003397/0.4697, allocations: 1.287 MB / 0.6802 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.159e-05/0.4698, allocations: 168.4 kB / 0.6804 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.4698, allocations: 4 kB / 0.6804 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001135/0.4709, allocations: 324.5 kB / 0.6807 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006203/0.4715, allocations: 143.8 kB / 0.6808 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001306/0.4729, allocations: 0.9387 MB / 0.6817 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000955/0.4738, allocations: 164.8 kB / 0.6819 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.889e-05/0.4739, allocations: 31.97 kB / 0.6819 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.646e-06/0.4739, allocations: 10.19 kB / 0.6819 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003118/0.4771, allocations: 1.15 MB / 0.683 GB, free: 9.074 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.4771, allocations: 4 kB / 0.683 GB, free: 9.07 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009745/0.4781, allocations: 319.8 kB / 0.6834 GB, free: 8.758 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006066/0.4787, allocations: 147.8 kB / 0.6835 GB, free: 8.613 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001251/0.4799, allocations: 0.9308 MB / 0.6844 GB, free: 7.656 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009025/0.4808, allocations: 175.3 kB / 0.6846 GB, free: 7.484 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.085e-05/0.4809, allocations: 31.94 kB / 0.6846 GB, free: 7.453 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 14} Notification: Performance of prepare postOptimizeDAE: time 0.0004253/0.4813, allocations: 352.9 kB / 0.6849 GB, free: 7.098 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001475/0.4815, allocations: 106.7 kB / 0.685 GB, free: 6.992 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002856/0.4844, allocations: 1.22 MB / 0.6862 GB, free: 5.77 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.211e-05/0.4844, allocations: 8 kB / 0.6862 GB, free: 5.762 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.154e-06/0.4844, allocations: 7.953 kB / 0.6862 GB, free: 5.754 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.4844, allocations: 3.984 kB / 0.6863 GB, free: 5.75 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004046/0.4885, allocations: 2.311 MB / 0.6885 GB, free: 3.359 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.4885, allocations: 0 / 0.6885 GB, free: 3.359 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005273/0.489, allocations: 116 kB / 0.6886 GB, free: 3.246 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000922/0.4899, allocations: 332.4 kB / 0.6889 GB, free: 2.918 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.81e-05/0.49, allocations: 23.94 kB / 0.689 GB, free: 2.895 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001294/0.4913, allocations: 0.9621 MB / 0.6899 GB, free: 1.906 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.4913, allocations: 0 / 0.6899 GB, free: 1.906 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003269/0.4946, allocations: 1.394 MB / 0.6913 GB, free: 484 kB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003665/0.495, allocations: 291.4 kB / 0.6915 GB, free: 172 kB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001382/0.4951, allocations: 15.95 kB / 0.6916 GB, free: 156 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000869/0.496, allocations: 131.8 kB / 0.6917 GB, free: 24 kB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.717e-05/0.4961, allocations: 36.44 kB / 0.6917 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.514e-05/0.4962, allocations: 27.92 kB / 0.6917 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0008016/0.497, allocations: 0.6519 MB / 0.6924 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.1e-07/0.497, allocations: 0 / 0.6924 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001309/0.4983, allocations: 0.573 MB / 0.6929 GB, free: 14.73 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006665/0.499, allocations: 374.6 kB / 0.6933 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003398/0.5024, allocations: 1.381 MB / 0.6946 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.5024, allocations: 4 kB / 0.6946 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001138/0.5035, allocations: 484.8 kB / 0.6951 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002131/0.5057, allocations: 0.5093 MB / 0.6956 GB, free: 12 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003705/0.5094, allocations: 2.325 MB / 0.6979 GB, free: 9.629 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006818/0.5101, allocations: 1.066 MB / 0.6989 GB, free: 8.531 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001066/0.5112, allocations: 227.3 kB / 0.6991 GB, free: 8.316 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002457/0.5114, allocations: 87.41 kB / 0.6992 GB, free: 8.234 MB / 0.5294 GB Notification: Performance of SimCode: time 8.12e-07/0.5114, allocations: 0 / 0.6992 GB, free: 8.234 MB / 0.5294 GB Notification: Performance of Templates: time 0.03561/0.547, allocations: 22.97 MB / 0.7216 GB, free: 1.602 MB / 0.545 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 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe 2>&1)