Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_y.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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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(Buildings.Fluid.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_y") translateModel(Buildings.Fluid.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001467/0.001467, allocations: 104.6 kB / 16.27 MB, free: 5.977 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.001799/0.001799, allocations: 189.9 kB / 17.2 MB, free: 5.602 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.448/1.448, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.885/1.885, allocations: 292.3 MB / 0.5495 GB, free: 17.66 MB / 462.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: Performance of FrontEnd - loaded program: time 0.00147/0.00147, allocations: 70.39 kB / 0.6722 GB, free: 6.559 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2456/0.2471, allocations: 114.6 MB / 0.784 GB, free: 3.887 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_y): time 0.5186/0.7657, allocations: 75.16 MB / 0.8574 GB, free: 15.14 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02374/0.7895, allocations: 12.65 MB / 0.8698 GB, free: 6.074 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004831/0.7944, allocations: 63.78 kB / 0.8698 GB, free: 6.051 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003819/0.7983, allocations: 0.8278 MB / 0.8706 GB, free: 5.531 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01033/0.8087, allocations: 2.442 MB / 0.873 GB, free: 4.055 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.005047/0.8137, allocations: 1.39 MB / 0.8744 GB, free: 3.27 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.009365/0.8231, allocations: 4.335 MB / 0.8786 GB, free: 0.8516 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003209/0.8264, allocations: 1.44 MB / 0.88 GB, free: 15.94 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005529/0.8319, allocations: 1.609 MB / 0.8816 GB, free: 14.98 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003454/0.8354, allocations: 1.195 MB / 0.8828 GB, free: 14.24 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0005068/0.8359, allocations: 163.2 kB / 0.8829 GB, free: 14.24 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00504/0.841, allocations: 1.409 MB / 0.8843 GB, free: 13.49 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0005994/0.8416, allocations: 405.1 kB / 0.8847 GB, free: 13.17 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001814/0.8434, allocations: 0.893 MB / 0.8855 GB, free: 12.57 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.006171/0.8496, allocations: 2.85 MB / 0.8883 GB, free: 10.64 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.261e-06/0.8497, allocations: 0 / 0.8883 GB, free: 10.64 MB / 0.6856 GB Notification: Performance of FrontEnd: time 4.228e-06/0.8497, allocations: 0 / 0.8883 GB, free: 10.64 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 4.412e-05/0.8497, allocations: 3.938 kB / 0.8883 GB, free: 10.63 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.004932/0.8547, allocations: 2.076 MB / 0.8904 GB, free: 9.059 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/0.8547, allocations: 9.344 kB / 0.8904 GB, free: 9.059 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001013/0.8557, allocations: 234.2 kB / 0.8906 GB, free: 8.945 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003063/0.8588, allocations: 1.434 MB / 0.892 GB, free: 7.797 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.802e-05/0.8589, allocations: 80.59 kB / 0.8921 GB, free: 7.762 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002093/0.8592, allocations: 104.7 kB / 0.8922 GB, free: 7.727 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002421/0.8616, allocations: 1.096 MB / 0.8932 GB, free: 7.047 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.83e-05/0.8616, allocations: 4.375 kB / 0.8932 GB, free: 7.047 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.98e-05/0.8617, allocations: 42 kB / 0.8933 GB, free: 7.016 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.702e-05/0.8618, allocations: 32.83 kB / 0.8933 GB, free: 7.008 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002108/0.8639, allocations: 0.887 MB / 0.8942 GB, free: 6.566 MB / 0.6856 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.007667/0.8716, allocations: 4.944 MB / 0.899 GB, free: 2.32 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001588/0.8732, allocations: 0.6212 MB / 0.8996 GB, free: 2.016 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007922/0.874, allocations: 347.4 kB / 0.8999 GB, free: 1.852 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007774/0.8748, allocations: 0.8271 MB / 0.9008 GB, free: 0.8828 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.585e-05/0.8748, allocations: 39.47 kB / 0.9008 GB, free: 0.8398 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=61): time 2.886e-06/0.8749, allocations: 0 / 0.9008 GB, free: 0.8398 MB / 0.6856 GB Notification: Performance of matching and sorting (n=61): time 0.00785/0.8827, allocations: 1.678 MB / 0.9024 GB, free: 15.95 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.238e-05/0.8828, allocations: 66.55 kB / 0.9025 GB, free: 15.88 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002127/0.8849, allocations: 1.217 MB / 0.9037 GB, free: 15.21 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001876/0.8851, allocations: 43.2 kB / 0.9037 GB, free: 15.16 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005855/0.8857, allocations: 0.6034 MB / 0.9043 GB, free: 14.63 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.00027/0.886, allocations: 215.8 kB / 0.9045 GB, free: 14.44 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002796/0.8863, allocations: 156.2 kB / 0.9047 GB, free: 14.35 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.8864, allocations: 337.2 kB / 0.905 GB, free: 14.02 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007237/0.8872, allocations: 291.8 kB / 0.9053 GB, free: 13.87 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009599/0.8881, allocations: 499.7 kB / 0.9057 GB, free: 13.49 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001435/0.8896, allocations: 0.713 MB / 0.9064 GB, free: 12.76 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.953e-06/0.8896, allocations: 4 kB / 0.9064 GB, free: 12.76 MB / 0.7012 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004901/0.8945, allocations: 1.271 MB / 0.9077 GB, free: 11.48 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.779e-05/0.8945, allocations: 8 kB / 0.9077 GB, free: 11.47 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/0.8946, allocations: 4.656 kB / 0.9077 GB, free: 11.46 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000632/0.8952, allocations: 133.1 kB / 0.9078 GB, free: 11.33 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006107/0.8958, allocations: 164.9 kB / 0.908 GB, free: 11.17 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008658/0.8967, allocations: 0.6966 MB / 0.9087 GB, free: 10.45 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001437/0.8982, allocations: 123 kB / 0.9088 GB, free: 10.33 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.472e-05/0.8982, allocations: 35.98 kB / 0.9088 GB, free: 10.29 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001215/0.8995, allocations: 0.5527 MB / 0.9094 GB, free: 9.734 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008306/0.9003, allocations: 490.4 kB / 0.9098 GB, free: 9.184 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001408/0.9017, allocations: 0.7052 MB / 0.9105 GB, free: 8.426 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.487e-06/0.9017, allocations: 3.938 kB / 0.9105 GB, free: 8.422 MB / 0.7012 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004771/0.9065, allocations: 1.261 MB / 0.9117 GB, free: 7.148 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.076e-05/0.9066, allocations: 8 kB / 0.9118 GB, free: 7.141 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.9066, allocations: 4 kB / 0.9118 GB, free: 7.137 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00052/0.9071, allocations: 137 kB / 0.9119 GB, free: 7 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005993/0.9077, allocations: 163.8 kB / 0.912 GB, free: 6.84 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000829/0.9086, allocations: 0.6966 MB / 0.9127 GB, free: 6.117 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001413/0.91, allocations: 108.8 kB / 0.9128 GB, free: 6.012 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.789e-05/0.9101, allocations: 31.98 kB / 0.9129 GB, free: 5.98 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (79): * Single equations (assignments): 78 * 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,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0003112/0.9104, allocations: 228.1 kB / 0.9131 GB, free: 5.75 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002885/0.9107, allocations: 134.3 kB / 0.9132 GB, free: 5.617 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004727/0.9154, allocations: 1.256 MB / 0.9144 GB, free: 4.344 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.227e-05/0.9155, allocations: 8 kB / 0.9144 GB, free: 4.336 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.055e-05/0.9155, allocations: 7.938 kB / 0.9144 GB, free: 4.328 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004126/0.9196, allocations: 1.099 MB / 0.9155 GB, free: 3.195 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007015/0.9266, allocations: 2.61 MB / 0.9181 GB, free: 484 kB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-05/0.9267, allocations: 4 kB / 0.9181 GB, free: 480 kB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004864/0.9272, allocations: 118.9 kB / 0.9182 GB, free: 364 kB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005122/0.9277, allocations: 129.1 kB / 0.9183 GB, free: 232 kB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.88e-05/0.9278, allocations: 27.98 kB / 0.9183 GB, free: 204 kB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005276/0.933, allocations: 2.581 MB / 0.9209 GB, free: 13.47 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/0.9331, allocations: 4 kB / 0.9209 GB, free: 13.47 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005773/0.9388, allocations: 1.695 MB / 0.9225 GB, free: 11.71 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008809/0.9397, allocations: 311.2 kB / 0.9228 GB, free: 11.38 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002336/0.94, allocations: 16 kB / 0.9228 GB, free: 11.37 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008477/0.9408, allocations: 55.88 kB / 0.9229 GB, free: 11.31 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001451/0.941, allocations: 60.36 kB / 0.9229 GB, free: 11.25 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.632e-05/0.9411, allocations: 31.98 kB / 0.923 GB, free: 11.22 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001286/0.9424, allocations: 0.8775 MB / 0.9238 GB, free: 10.34 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.91e-07/0.9424, allocations: 0 / 0.9238 GB, free: 10.34 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002159/0.9445, allocations: 0.7174 MB / 0.9245 GB, free: 9.625 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (chi.con.vol.dynBal.U,chi.eva.vol.dynBal.U) * 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 (56): * Single equations (assignments): 51 * 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,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001009/0.9456, allocations: 463.6 kB / 0.925 GB, free: 9.176 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002975/0.9485, allocations: 1.158 MB / 0.9261 GB, free: 8.027 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/0.9486, allocations: 4 kB / 0.9261 GB, free: 8.023 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001526/0.9501, allocations: 0.5565 MB / 0.9266 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003752/0.9539, allocations: 0.8082 MB / 0.9274 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004072/0.9579, allocations: 2.323 MB / 0.9297 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007177/0.9587, allocations: 1.172 MB / 0.9309 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003315/0.959, allocations: 111.4 kB / 0.931 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of SimCode: time 6.31e-07/0.959, allocations: 0 / 0.931 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of Templates: time 0.04453/1.004, allocations: 31.13 MB / 0.9614 GB, free: 4.141 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_y.makefile (rm -f Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_y.sim & ./Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1)