Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.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_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity") translateModel(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001515/0.001515, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001713/0.001713, allocations: 192.9 kB / 16.14 MB, free: 6.688 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.459/1.459, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8592/0.8592, allocations: 132.2 MB / 422.2 MB, free: 2.027 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 64.03 kB / 0.5011 GB, free: 9.195 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1931/0.1943, allocations: 80.2 MB / 0.5794 GB, free: 9.215 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity): time 0.3898/0.5842, allocations: 60.81 MB / 0.6388 GB, free: 22.28 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01518/0.5994, allocations: 12.05 MB / 0.6506 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002203/0.6016, allocations: 55.81 kB / 0.6506 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002014/0.6037, allocations: 0.541 MB / 0.6511 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005717/0.6095, allocations: 1.799 MB / 0.6529 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003505/0.613, allocations: 1.081 MB / 0.654 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005094/0.6181, allocations: 3.892 MB / 0.6578 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002104/0.6202, allocations: 0.9285 MB / 0.6587 GB, free: 9.68 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00271/0.6229, allocations: 1.163 MB / 0.6598 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00188/0.6248, allocations: 0.8834 MB / 0.6607 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003504/0.6252, allocations: 56.09 kB / 0.6607 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003066/0.6283, allocations: 1.368 MB / 0.6621 GB, free: 8.305 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002634/0.6285, allocations: 239.2 kB / 0.6623 GB, free: 8.168 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008858/0.6294, allocations: 0.6309 MB / 0.6629 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003182/0.6326, allocations: 2.247 MB / 0.6651 GB, free: 6.961 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.6326, allocations: 5.062 kB / 0.6651 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.092e-06/0.6327, allocations: 4 kB / 0.6651 GB, free: 6.953 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.389e-05/0.6327, allocations: 0 / 0.6651 GB, free: 6.953 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.003042/0.6357, allocations: 1.73 MB / 0.6668 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.6358, allocations: 8.812 kB / 0.6668 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001773/0.6376, allocations: 343.2 kB / 0.6671 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001998/0.6396, allocations: 1.122 MB / 0.6682 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003607/0.6399, allocations: 115.5 kB / 0.6683 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001073/0.6401, allocations: 85.91 kB / 0.6684 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001898/0.642, allocations: 0.9498 MB / 0.6693 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.253e-05/0.642, allocations: 4.969 kB / 0.6693 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-05/0.6421, allocations: 31.94 kB / 0.6694 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.825e-05/0.6421, allocations: 18.47 kB / 0.6694 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002122/0.6442, allocations: 0.8053 MB / 0.6702 GB, free: 4.172 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.006069/0.6503, allocations: 4.763 MB / 0.6748 GB, free: 0.5352 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001484/0.6518, allocations: 0.567 MB / 0.6754 GB, free: 352 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006058/0.6524, allocations: 270.7 kB / 0.6756 GB, free: 260 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001404/0.6538, allocations: 1.372 MB / 0.677 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.941e-05/0.6539, allocations: 37.06 kB / 0.677 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=43): time 1.934e-06/0.6539, allocations: 1.812 kB / 0.677 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43): time 0.007394/0.6613, allocations: 1.672 MB / 0.6787 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.451e-05/0.6614, allocations: 59.12 kB / 0.6787 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001746/0.6631, allocations: 1.052 MB / 0.6797 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 8.459e-05/0.6632, allocations: 38.11 kB / 0.6798 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000541/0.6638, allocations: 0.5183 MB / 0.6803 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001773/0.6639, allocations: 150.8 kB / 0.6804 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002681/0.6642, allocations: 129.6 kB / 0.6805 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001646/0.6644, allocations: 329.8 kB / 0.6809 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008065/0.6652, allocations: 277.4 kB / 0.6811 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009946/0.6662, allocations: 474.5 kB / 0.6816 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001495/0.6677, allocations: 0.6214 MB / 0.6822 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/0.6677, allocations: 4.344 kB / 0.6822 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002664/0.6704, allocations: 0.9245 MB / 0.6831 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.6704, allocations: 15.34 kB / 0.6831 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.6704, allocations: 8.359 kB / 0.6831 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00131/0.6718, allocations: 311.2 kB / 0.6834 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004642/0.6722, allocations: 111.1 kB / 0.6835 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001486/0.6737, allocations: 0.9109 MB / 0.6844 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001459/0.6752, allocations: 162 kB / 0.6846 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.818e-05/0.6753, allocations: 32.95 kB / 0.6846 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001294/0.6766, allocations: 484.9 kB / 0.6851 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009793/0.6776, allocations: 473.9 kB / 0.6855 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001436/0.679, allocations: 0.6242 MB / 0.6861 GB, free: 9.965 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.687e-06/0.6791, allocations: 4.547 kB / 0.6861 GB, free: 9.965 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.00259/0.6817, allocations: 0.9209 MB / 0.687 GB, free: 9.617 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.6817, allocations: 7.438 kB / 0.687 GB, free: 9.617 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.6817, allocations: 4.656 kB / 0.687 GB, free: 9.617 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001189/0.6829, allocations: 305.3 kB / 0.6873 GB, free: 9.543 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004498/0.6834, allocations: 113 kB / 0.6874 GB, free: 9.527 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001516/0.6849, allocations: 0.9144 MB / 0.6883 GB, free: 8.863 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00143/0.6863, allocations: 144.8 kB / 0.6885 GB, free: 8.828 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.301e-05/0.6864, allocations: 27.75 kB / 0.6885 GB, free: 8.824 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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.0002505/0.6867, allocations: 212.8 kB / 0.6887 GB, free: 8.621 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002144/0.6869, allocations: 107.6 kB / 0.6888 GB, free: 8.566 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00329/0.6902, allocations: 1.023 MB / 0.6898 GB, free: 8.203 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.085e-05/0.6902, allocations: 5.906 kB / 0.6898 GB, free: 8.203 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.964e-06/0.6902, allocations: 0 / 0.6898 GB, free: 8.203 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-05/0.6903, allocations: 15.16 kB / 0.6898 GB, free: 8.191 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005329/0.6956, allocations: 2.093 MB / 0.6919 GB, free: 7.211 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.714e-06/0.6956, allocations: 2.156 kB / 0.6919 GB, free: 7.211 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002125/0.6959, allocations: 53.73 kB / 0.6919 GB, free: 7.207 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001053/0.6969, allocations: 308.4 kB / 0.6922 GB, free: 7.125 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.747e-05/0.697, allocations: 9.531 kB / 0.6922 GB, free: 7.121 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001508/0.6985, allocations: 0.9401 MB / 0.6931 GB, free: 6.453 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.6985, allocations: 2.5 kB / 0.6931 GB, free: 6.453 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003457/0.702, allocations: 1.11 MB / 0.6942 GB, free: 5.949 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00052/0.7025, allocations: 263.1 kB / 0.6945 GB, free: 5.746 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001622/0.7027, allocations: 16.53 kB / 0.6945 GB, free: 5.734 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008999/0.7036, allocations: 89.17 kB / 0.6946 GB, free: 5.719 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.584e-05/0.7037, allocations: 40.45 kB / 0.6946 GB, free: 5.707 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.834e-05/0.7038, allocations: 26.36 kB / 0.6946 GB, free: 5.699 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001305/0.7051, allocations: 0.737 MB / 0.6954 GB, free: 5.391 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.91e-07/0.7051, allocations: 0 / 0.6954 GB, free: 5.391 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00183/0.7069, allocations: 0.5658 MB / 0.6959 GB, free: 5.273 MB / 0.5137 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.0009164/0.7078, allocations: 408.9 kB / 0.6963 GB, free: 5.078 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002876/0.7107, allocations: 1 MB / 0.6973 GB, free: 4.781 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.7107, allocations: 1.062 kB / 0.6973 GB, free: 4.781 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0008348/0.7116, allocations: 316.3 kB / 0.6976 GB, free: 4.695 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002591/0.7142, allocations: 0.4971 MB / 0.6981 GB, free: 4.566 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003757/0.718, allocations: 2.228 MB / 0.7002 GB, free: 3.191 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000645/0.7186, allocations: 1.059 MB / 0.7013 GB, free: 2.418 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0009701/0.7196, allocations: 215 kB / 0.7015 GB, free: 2.316 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001734/0.7198, allocations: 72.2 kB / 0.7015 GB, free: 2.305 MB / 0.5137 GB Notification: Performance of SimCode: time 4.71e-07/0.7198, allocations: 0 / 0.7015 GB, free: 2.305 MB / 0.5137 GB Notification: Performance of Templates: time 0.03934/0.7591, allocations: 23.91 MB / 0.7249 GB, free: 13.48 MB / 0.545 GB make -j1 -f IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.makefile (rm -f IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe ; mkfifo IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe >> ../files/IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.sim & ./IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe 2>&1)