Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.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.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL") translateModel(Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00118/0.00118, allocations: 195.6 kB / 16.25 MB, free: 6.621 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.544/1.544, allocations: 205.1 MB / 222.1 MB, free: 4.695 MB / 174.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.756/1.756, allocations: 292.2 MB / 0.5485 GB, free: 13.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.00159/0.001591, allocations: 65.38 kB / 0.671 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2894/0.291, allocations: 114.5 MB / 0.7828 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL): time 0.07492/0.366, allocations: 74.55 MB / 0.8556 GB, free: 3.105 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01696/0.383, allocations: 12.56 MB / 0.8679 GB, free: 6.523 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002892/0.3859, allocations: 59.62 kB / 0.868 GB, free: 6.465 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.002533/0.3885, allocations: 0.7151 MB / 0.8687 GB, free: 5.746 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.007001/0.3955, allocations: 2.287 MB / 0.8709 GB, free: 3.449 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.003679/0.3992, allocations: 1.287 MB / 0.8721 GB, free: 2.176 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.006106/0.4054, allocations: 4.369 MB / 0.8764 GB, free: 13.79 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002652/0.408, allocations: 1.425 MB / 0.8778 GB, free: 12.32 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004926/0.413, allocations: 1.635 MB / 0.8794 GB, free: 10.69 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002545/0.4156, allocations: 1.237 MB / 0.8806 GB, free: 9.445 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0003546/0.4159, allocations: 164 kB / 0.8808 GB, free: 9.285 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004037/0.42, allocations: 1.431 MB / 0.8822 GB, free: 7.852 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0005846/0.4206, allocations: 406.6 kB / 0.8826 GB, free: 7.453 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.001756/0.4223, allocations: 0.9099 MB / 0.8834 GB, free: 6.539 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.004966/0.4273, allocations: 2.867 MB / 0.8862 GB, free: 3.664 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.76e-06/0.4274, allocations: 0 / 0.8862 GB, free: 3.664 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.844e-06/0.4274, allocations: 3.938 kB / 0.8862 GB, free: 3.66 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 2.957e-05/0.4274, allocations: 0 / 0.8862 GB, free: 3.66 MB / 0.7012 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.004535/0.4319, allocations: 2.083 MB / 0.8883 GB, free: 1.512 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.763e-05/0.432, allocations: 8.031 kB / 0.8883 GB, free: 1.504 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008854/0.4329, allocations: 230.8 kB / 0.8885 GB, free: 1.277 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002526/0.4354, allocations: 1.481 MB / 0.89 GB, free: 15.74 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.575e-05/0.4355, allocations: 82 kB / 0.89 GB, free: 15.66 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001591/0.4357, allocations: 100 kB / 0.8901 GB, free: 15.56 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002071/0.4378, allocations: 1.104 MB / 0.8912 GB, free: 14.42 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.735e-05/0.4378, allocations: 4 kB / 0.8912 GB, free: 14.42 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.709e-05/0.4379, allocations: 36 kB / 0.8912 GB, free: 14.38 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.581e-05/0.438, allocations: 27.98 kB / 0.8913 GB, free: 14.36 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001882/0.4398, allocations: 0.8939 MB / 0.8921 GB, free: 13.46 MB / 0.7169 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.006408/0.4463, allocations: 4.922 MB / 0.8969 GB, free: 8.258 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001359/0.4476, allocations: 0.6194 MB / 0.8976 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006985/0.4483, allocations: 350.3 kB / 0.8979 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007101/0.4491, allocations: 0.8316 MB / 0.8987 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.067e-05/0.4491, allocations: 39.12 kB / 0.8987 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=62): time 2.285e-06/0.4491, allocations: 0 / 0.8987 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of matching and sorting (n=62): time 0.007159/0.4563, allocations: 1.697 MB / 0.9004 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.351e-05/0.4563, allocations: 55.97 kB / 0.9004 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001625/0.458, allocations: 1.205 MB / 0.9016 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001003/0.4581, allocations: 41.7 kB / 0.9017 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005431/0.4586, allocations: 0.6025 MB / 0.9023 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002192/0.4589, allocations: 212.9 kB / 0.9025 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000255/0.4591, allocations: 158.4 kB / 0.9026 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.4593, allocations: 338 kB / 0.9029 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006587/0.4599, allocations: 288.7 kB / 0.9032 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007956/0.4607, allocations: 499 kB / 0.9037 GB, free: 0.9922 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001311/0.462, allocations: 0.7043 MB / 0.9044 GB, free: 248 kB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.4621, allocations: 7.938 kB / 0.9044 GB, free: 240 kB / 0.7169 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004561/0.4666, allocations: 1.273 MB / 0.9056 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/0.4667, allocations: 4 kB / 0.9056 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.4667, allocations: 4 kB / 0.9056 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007273/0.4674, allocations: 157.1 kB / 0.9058 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005887/0.468, allocations: 159.7 kB / 0.9059 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009059/0.4689, allocations: 0.7201 MB / 0.9066 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00121/0.4702, allocations: 169.5 kB / 0.9068 GB, free: 13.72 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.533e-05/0.4702, allocations: 35.94 kB / 0.9068 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001115/0.4714, allocations: 0.5494 MB / 0.9074 GB, free: 13.13 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007857/0.4722, allocations: 495 kB / 0.9078 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001328/0.4735, allocations: 0.6965 MB / 0.9085 GB, free: 11.83 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.328e-06/0.4735, allocations: 4 kB / 0.9085 GB, free: 11.83 MB / 0.7325 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004412/0.4779, allocations: 1.277 MB / 0.9098 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.478, allocations: 4 kB / 0.9098 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.478, allocations: 4 kB / 0.9098 GB, free: 10.53 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006302/0.4786, allocations: 157 kB / 0.9099 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000579/0.4792, allocations: 155.8 kB / 0.9101 GB, free: 10.22 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008587/0.4801, allocations: 0.724 MB / 0.9108 GB, free: 9.473 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001285/0.4814, allocations: 143.5 kB / 0.9109 GB, free: 9.332 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.533e-05/0.4815, allocations: 27.98 kB / 0.9109 GB, free: 9.305 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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.0003472/0.4818, allocations: 228.1 kB / 0.9112 GB, free: 9.074 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002501/0.4821, allocations: 134.3 kB / 0.9113 GB, free: 8.941 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004477/0.4866, allocations: 1.279 MB / 0.9125 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.652e-05/0.4866, allocations: 11.94 kB / 0.9125 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/0.4866, allocations: 0 / 0.9125 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003975/0.4906, allocations: 1.111 MB / 0.9136 GB, free: 6.488 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006638/0.4972, allocations: 2.614 MB / 0.9162 GB, free: 3.762 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.767e-06/0.4973, allocations: 4 kB / 0.9162 GB, free: 3.758 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004592/0.4977, allocations: 112.3 kB / 0.9163 GB, free: 3.648 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000596/0.4983, allocations: 148.7 kB / 0.9164 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.095e-05/0.4984, allocations: 27.98 kB / 0.9165 GB, free: 3.473 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000815/0.4992, allocations: 0.7084 MB / 0.9172 GB, free: 2.738 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.425e-06/0.4992, allocations: 7.938 kB / 0.9172 GB, free: 2.73 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005243/0.5045, allocations: 1.699 MB / 0.9188 GB, free: 0.9609 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007423/0.5053, allocations: 303.2 kB / 0.9191 GB, free: 0.6445 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001928/0.5055, allocations: 16 kB / 0.9191 GB, free: 0.6289 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008827/0.5063, allocations: 87.81 kB / 0.9192 GB, free: 0.543 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001309/0.5065, allocations: 52.31 kB / 0.9193 GB, free: 0.4922 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.605e-05/0.5066, allocations: 35.97 kB / 0.9193 GB, free: 468 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.48/0.9866, allocations: 0.859 MB / 0.9201 GB, free: 135.9 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8.52e-07/0.9866, allocations: 1.688 kB / 0.9201 GB, free: 135.9 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002816/0.9894, allocations: 0.704 MB / 0.9208 GB, free: 135.9 MB / 0.7325 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 (55): * Single equations (assignments): 50 * 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,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001137/0.9906, allocations: 467.5 kB / 0.9213 GB, free: 135.8 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.003101/0.9937, allocations: 1.159 MB / 0.9224 GB, free: 135.8 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.333e-06/0.9937, allocations: 4.875 kB / 0.9224 GB, free: 135.8 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0009608/0.9947, allocations: 387.1 kB / 0.9228 GB, free: 135.8 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003923/0.9986, allocations: 0.8092 MB / 0.9236 GB, free: 135.8 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003782/1.002, allocations: 2.751 MB / 0.9263 GB, free: 134.4 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005052/1.003, allocations: 1.167 MB / 0.9274 GB, free: 133.7 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001307/1.004, allocations: 313.8 kB / 0.9277 GB, free: 133.6 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000226/1.004, allocations: 110.4 kB / 0.9278 GB, free: 133.6 MB / 0.7325 GB Notification: Performance of SimCode: time 8.02e-07/1.004, allocations: 0 / 0.9278 GB, free: 133.6 MB / 0.7325 GB Notification: Performance of Templates: time 0.05627/1.061, allocations: 31.63 MB / 0.9587 GB, free: 121.8 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.makefile (rm -f Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; mkfifo Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe >> ../files/Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.sim & ./Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe 2>&1)