Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity") translateModel(Annex60.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.003838/0.003838, allocations: 97.19 kB / 15.73 MB, free: 6.055 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.001008/0.001008, allocations: 192.9 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.225/1.225, allocations: 205.1 MB / 222.5 MB, free: 4.367 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3569/0.3569, allocations: 54.94 MB / 324.8 MB, free: 84 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001497/0.001497, allocations: 76.38 kB / 456.3 MB, free: 38.14 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09648/0.09799, allocations: 59.59 MB / 0.5038 GB, free: 9.66 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity): time 0.05012/0.1481, allocations: 60.48 MB / 0.5629 GB, free: 14.15 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01371/0.1619, allocations: 11.24 MB / 0.5739 GB, free: 2.879 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001622/0.1636, allocations: 47.75 kB / 0.5739 GB, free: 2.832 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00163/0.1652, allocations: 0.7259 MB / 0.5746 GB, free: 2.102 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004154/0.1694, allocations: 1.934 MB / 0.5765 GB, free: 164 kB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002181/0.1716, allocations: 1.018 MB / 0.5775 GB, free: 15.15 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003027/0.1746, allocations: 3.014 MB / 0.5804 GB, free: 12.12 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001155/0.1758, allocations: 1.083 MB / 0.5815 GB, free: 11 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002541/0.1784, allocations: 1.45 MB / 0.5829 GB, free: 9.551 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001131/0.1795, allocations: 0.9685 MB / 0.5839 GB, free: 8.578 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001487/0.1797, allocations: 120 kB / 0.584 GB, free: 8.461 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002023/0.1817, allocations: 1.217 MB / 0.5852 GB, free: 7.242 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002456/0.1819, allocations: 294.8 kB / 0.5854 GB, free: 6.953 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006318/0.1826, allocations: 0.7386 MB / 0.5862 GB, free: 6.211 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002411/0.185, allocations: 2.246 MB / 0.5884 GB, free: 3.957 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.185, allocations: 3.938 kB / 0.5884 GB, free: 3.953 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.185, allocations: 0 / 0.5884 GB, free: 3.953 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.232e-05/0.185, allocations: 0 / 0.5884 GB, free: 3.953 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.002567/0.1876, allocations: 1.787 MB / 0.5901 GB, free: 2.102 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.14e-05/0.1877, allocations: 8.031 kB / 0.5901 GB, free: 2.094 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001717/0.1894, allocations: 371.7 kB / 0.5905 GB, free: 1.73 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001639/0.191, allocations: 1.102 MB / 0.5915 GB, free: 0.5859 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.98e-05/0.1911, allocations: 69.98 kB / 0.5916 GB, free: 0.5195 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001051/0.1912, allocations: 88 kB / 0.5917 GB, free: 444 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002252/0.1935, allocations: 1.209 MB / 0.5929 GB, free: 15.12 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.221e-05/0.1935, allocations: 3.938 kB / 0.5929 GB, free: 15.11 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.625e-05/0.1936, allocations: 43.98 kB / 0.5929 GB, free: 15.07 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.49e-05/0.1936, allocations: 32 kB / 0.5929 GB, free: 15.04 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002222/0.1959, allocations: 0.9286 MB / 0.5939 GB, free: 14.11 MB / 478.1 MB 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.00581/0.2017, allocations: 6.171 MB / 0.5999 GB, free: 7.547 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001607/0.2033, allocations: 0.5695 MB / 0.6004 GB, free: 6.969 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005082/0.2038, allocations: 229.4 kB / 0.6007 GB, free: 6.742 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000987/0.2048, allocations: 0.8788 MB / 0.6015 GB, free: 5.68 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.421e-05/0.2049, allocations: 42.89 kB / 0.6016 GB, free: 5.629 MB / 478.1 MB Notification: Performance of pre-optimization done (n=39): time 1.954e-06/0.2049, allocations: 0 / 0.6016 GB, free: 5.629 MB / 478.1 MB Notification: Performance of matching and sorting (n=39): time 0.007776/0.2127, allocations: 1.752 MB / 0.6033 GB, free: 3.848 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.174e-05/0.2127, allocations: 162.2 kB / 0.6034 GB, free: 3.652 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001521/0.2143, allocations: 1.157 MB / 0.6046 GB, free: 2.484 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.393e-05/0.2143, allocations: 33.7 kB / 0.6046 GB, free: 2.445 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004214/0.2148, allocations: 0.6136 MB / 0.6052 GB, free: 1.828 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001149/0.2149, allocations: 146.8 kB / 0.6053 GB, free: 1.684 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002308/0.2151, allocations: 158.5 kB / 0.6055 GB, free: 1.52 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.95e-05/0.2152, allocations: 338 kB / 0.6058 GB, free: 1.184 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008168/0.2161, allocations: 316.6 kB / 0.6061 GB, free: 0.8711 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009818/0.2171, allocations: 0.6183 MB / 0.6067 GB, free: 108 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001577/0.2186, allocations: 0.7971 MB / 0.6075 GB, free: 15.2 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.94e-06/0.2187, allocations: 0 / 0.6075 GB, free: 15.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00246/0.2211, allocations: 1.078 MB / 0.6085 GB, free: 14.11 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.2212, allocations: 8 kB / 0.6085 GB, free: 14.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.569e-05/0.2212, allocations: 8 kB / 0.6085 GB, free: 14.09 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008666/0.2221, allocations: 260.6 kB / 0.6088 GB, free: 13.84 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005855/0.2227, allocations: 163.7 kB / 0.609 GB, free: 13.68 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001179/0.2238, allocations: 0.8372 MB / 0.6098 GB, free: 12.81 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001128/0.225, allocations: 191.1 kB / 0.61 GB, free: 12.62 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.879e-05/0.2251, allocations: 35.98 kB / 0.61 GB, free: 12.59 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009596/0.226, allocations: 0.4941 MB / 0.6105 GB, free: 12.09 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008766/0.2269, allocations: 0.5949 MB / 0.6111 GB, free: 11.36 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00133/0.2283, allocations: 0.7465 MB / 0.6118 GB, free: 10.5 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.781e-06/0.2283, allocations: 4 kB / 0.6118 GB, free: 10.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.002302/0.2306, allocations: 1.027 MB / 0.6128 GB, free: 9.457 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.2306, allocations: 14.19 kB / 0.6128 GB, free: 9.445 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.2306, allocations: 8 kB / 0.6128 GB, free: 9.438 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007405/0.2314, allocations: 244.7 kB / 0.613 GB, free: 9.195 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005042/0.2319, allocations: 159.7 kB / 0.6132 GB, free: 9.039 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001115/0.233, allocations: 0.8449 MB / 0.614 GB, free: 8.168 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001085/0.2341, allocations: 135.7 kB / 0.6141 GB, free: 8.035 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.341e-05/0.2342, allocations: 28 kB / 0.6142 GB, free: 8.008 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (77): * Single equations (assignments): 76 * 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,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0002001/0.2344, allocations: 235.9 kB / 0.6144 GB, free: 7.77 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001848/0.2346, allocations: 131.1 kB / 0.6145 GB, free: 7.641 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001848/0.2364, allocations: 0.7351 MB / 0.6152 GB, free: 6.898 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.426e-06/0.2364, allocations: 7.938 kB / 0.6153 GB, free: 6.891 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.2364, allocations: 0 / 0.6153 GB, free: 6.891 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-06/0.2365, allocations: 0 / 0.6153 GB, free: 6.891 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004311/0.2408, allocations: 1.948 MB / 0.6172 GB, free: 4.855 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-06/0.2408, allocations: 4 kB / 0.6172 GB, free: 4.852 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002592/0.2411, allocations: 63.94 kB / 0.6172 GB, free: 4.789 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007466/0.2418, allocations: 244.6 kB / 0.6175 GB, free: 4.547 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.447e-05/0.2419, allocations: 15.94 kB / 0.6175 GB, free: 4.531 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001554/0.2434, allocations: 0.8919 MB / 0.6183 GB, free: 3.613 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.59e-06/0.2434, allocations: 7.938 kB / 0.6183 GB, free: 3.605 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003065/0.2465, allocations: 1.056 MB / 0.6194 GB, free: 2.5 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003554/0.2469, allocations: 264.1 kB / 0.6196 GB, free: 2.223 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001626/0.247, allocations: 19.98 kB / 0.6196 GB, free: 2.203 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008327/0.2479, allocations: 75.89 kB / 0.6197 GB, free: 2.129 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.307e-05/0.248, allocations: 31.91 kB / 0.6198 GB, free: 2.098 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.922e-05/0.248, allocations: 23.92 kB / 0.6198 GB, free: 2.074 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001102/0.2491, allocations: 0.8036 MB / 0.6206 GB, free: 1.266 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.2491, allocations: 0 / 0.6206 GB, free: 1.266 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001333/0.2505, allocations: 0.5772 MB / 0.6211 GB, free: 0.6875 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (29): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005688/0.2511, allocations: 293.3 kB / 0.6214 GB, free: 408 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00269/0.2538, allocations: 1.113 MB / 0.6225 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.76e-06/0.2538, allocations: 0 / 0.6225 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001144/0.2549, allocations: 345 kB / 0.6228 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002177/0.2571, allocations: 0.5614 MB / 0.6234 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002785/0.2599, allocations: 1.81 MB / 0.6251 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005306/0.2605, allocations: 1.07 MB / 0.6262 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0007772/0.2612, allocations: 241.3 kB / 0.6264 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001861/0.2614, allocations: 83.41 kB / 0.6265 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of SimCode: time 4.1e-07/0.2614, allocations: 0 / 0.6265 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of Templates: time 0.2386/0.5, allocations: 24.63 MB / 0.6505 GB, free: 121 MB / 0.4981 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.sim & ./Annex60_1.0.0_Annex60.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe 2>&1)