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.00103/0.00103, allocations: 106.2 kB / 15.98 MB, free: 6.336 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.0011/0.0011, allocations: 194.8 kB / 16.91 MB, free: 6.18 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.348/1.348, allocations: 205.1 MB / 222.8 MB, free: 4.703 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.68/1.68, allocations: 292.3 MB / 0.5492 GB, free: 13.63 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.001362/0.001362, allocations: 71.72 kB / 0.6716 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2203/0.2216, allocations: 114.6 MB / 0.7835 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL): time 0.06711/0.2888, allocations: 74.54 MB / 0.8563 GB, free: 3.105 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01722/0.3061, allocations: 12.55 MB / 0.8686 GB, free: 6.523 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002777/0.3089, allocations: 55.62 kB / 0.8686 GB, free: 6.469 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.002369/0.3113, allocations: 0.7228 MB / 0.8693 GB, free: 5.742 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.006578/0.3179, allocations: 2.271 MB / 0.8715 GB, free: 3.461 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.003764/0.3217, allocations: 1.288 MB / 0.8728 GB, free: 2.188 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.006266/0.328, allocations: 4.381 MB / 0.8771 GB, free: 13.79 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00226/0.3303, allocations: 1.421 MB / 0.8785 GB, free: 12.33 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004099/0.3344, allocations: 1.642 MB / 0.8801 GB, free: 10.69 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002097/0.3365, allocations: 1.237 MB / 0.8813 GB, free: 9.445 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0004014/0.3369, allocations: 168 kB / 0.8814 GB, free: 9.281 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003301/0.3402, allocations: 1.439 MB / 0.8828 GB, free: 7.84 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0004579/0.3407, allocations: 398.6 kB / 0.8832 GB, free: 7.449 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.001253/0.342, allocations: 0.906 MB / 0.8841 GB, free: 6.539 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.003176/0.3452, allocations: 2.249 MB / 0.8863 GB, free: 4.285 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.3452, allocations: 0 / 0.8863 GB, free: 4.285 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.053e-06/0.3452, allocations: 0 / 0.8863 GB, free: 4.285 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 3.418e-05/0.3452, allocations: 0 / 0.8863 GB, free: 4.285 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.00395/0.3492, allocations: 2.087 MB / 0.8883 GB, free: 2.133 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.3493, allocations: 12.03 kB / 0.8883 GB, free: 2.121 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008769/0.3501, allocations: 230.8 kB / 0.8886 GB, free: 1.895 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002531/0.3527, allocations: 1.481 MB / 0.89 GB, free: 364 kB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.895e-05/0.3528, allocations: 74 kB / 0.8901 GB, free: 292 kB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001621/0.3529, allocations: 100 kB / 0.8902 GB, free: 192 kB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002037/0.355, allocations: 1.096 MB / 0.8913 GB, free: 15.05 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.933e-05/0.355, allocations: 11.92 kB / 0.8913 GB, free: 15.04 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.867e-05/0.3551, allocations: 40 kB / 0.8913 GB, free: 15 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.098e-05/0.3552, allocations: 24 kB / 0.8913 GB, free: 14.98 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001788/0.357, allocations: 0.89 MB / 0.8922 GB, free: 14.09 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.006196/0.3632, allocations: 4.922 MB / 0.897 GB, free: 8.883 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001352/0.3645, allocations: 0.6272 MB / 0.8976 GB, free: 8.246 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006945/0.3652, allocations: 350.3 kB / 0.8979 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007158/0.366, allocations: 0.8238 MB / 0.8988 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.442e-05/0.366, allocations: 43.12 kB / 0.8988 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=62): time 2.545e-06/0.366, allocations: 0 / 0.8988 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of matching and sorting (n=62): time 0.007216/0.3733, allocations: 1.697 MB / 0.9005 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.345e-05/0.3733, allocations: 55.97 kB / 0.9005 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001716/0.3751, allocations: 1.205 MB / 0.9017 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001441/0.3752, allocations: 41.7 kB / 0.9017 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004538/0.3757, allocations: 0.5986 MB / 0.9023 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.000204/0.3759, allocations: 220.9 kB / 0.9025 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002379/0.3761, allocations: 154.5 kB / 0.9027 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.3762, allocations: 334 kB / 0.903 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006476/0.3769, allocations: 288.7 kB / 0.9033 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000815/0.3777, allocations: 0.49 MB / 0.9037 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001323/0.3791, allocations: 0.7043 MB / 0.9044 GB, free: 0.8672 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.3791, allocations: 11.88 kB / 0.9044 GB, free: 0.8555 MB / 0.7169 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004619/0.3837, allocations: 1.273 MB / 0.9057 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/0.3837, allocations: 12.06 kB / 0.9057 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/0.3838, allocations: 4 kB / 0.9057 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007051/0.3845, allocations: 156.7 kB / 0.9058 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005992/0.3851, allocations: 151.8 kB / 0.906 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008577/0.386, allocations: 0.7278 MB / 0.9067 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001249/0.3872, allocations: 159.1 kB / 0.9069 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.369e-05/0.3873, allocations: 31.98 kB / 0.9069 GB, free: 14.31 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001058/0.3884, allocations: 0.5488 MB / 0.9074 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007699/0.3892, allocations: 495 kB / 0.9079 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001295/0.3905, allocations: 0.7043 MB / 0.9086 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.444e-06/0.3905, allocations: 0 / 0.9086 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004509/0.395, allocations: 1.269 MB / 0.9098 GB, free: 11.17 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.395, allocations: 10.84 kB / 0.9098 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.395, allocations: 4 kB / 0.9098 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000606/0.3956, allocations: 156.7 kB / 0.91 GB, free: 11 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006109/0.3963, allocations: 159.8 kB / 0.9101 GB, free: 10.84 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007867/0.3971, allocations: 0.72 MB / 0.9108 GB, free: 10.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001316/0.3984, allocations: 139.5 kB / 0.911 GB, free: 9.961 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.393e-05/0.3985, allocations: 31.98 kB / 0.911 GB, free: 9.93 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.0002691/0.3988, allocations: 224.1 kB / 0.9112 GB, free: 9.703 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003057/0.3991, allocations: 134.3 kB / 0.9113 GB, free: 9.57 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004506/0.4036, allocations: 1.283 MB / 0.9126 GB, free: 8.273 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.226e-05/0.4036, allocations: 11.98 kB / 0.9126 GB, free: 8.262 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/0.4037, allocations: 0 / 0.9126 GB, free: 8.262 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003966/0.4076, allocations: 1.115 MB / 0.9137 GB, free: 7.109 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006811/0.4145, allocations: 2.614 MB / 0.9162 GB, free: 4.383 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-05/0.4145, allocations: 4 kB / 0.9162 GB, free: 4.379 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005087/0.415, allocations: 107.9 kB / 0.9164 GB, free: 4.273 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000623/0.4157, allocations: 149 kB / 0.9165 GB, free: 4.125 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.263e-05/0.4157, allocations: 19.98 kB / 0.9165 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00077/0.4165, allocations: 0.7161 MB / 0.9172 GB, free: 3.363 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.271e-06/0.4165, allocations: 7.938 kB / 0.9172 GB, free: 3.355 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005155/0.4217, allocations: 1.696 MB / 0.9189 GB, free: 1.59 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007892/0.4225, allocations: 311.3 kB / 0.9192 GB, free: 1.266 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002177/0.4228, allocations: 23.97 kB / 0.9192 GB, free: 1.242 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008742/0.4236, allocations: 79.77 kB / 0.9193 GB, free: 1.164 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001302/0.4238, allocations: 56.25 kB / 0.9193 GB, free: 1.109 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.898e-05/0.4239, allocations: 31.97 kB / 0.9194 GB, free: 1.078 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001191/0.4251, allocations: 0.8697 MB / 0.9202 GB, free: 212 kB / 0.7325 GB Notification: Performance of sort global known variables: time 2.2e-07/0.4251, allocations: 0 / 0.9202 GB, free: 212 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.3921/0.8172, allocations: 0.6993 MB / 0.9209 GB, free: 136.5 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.001176/0.8184, allocations: 454.3 kB / 0.9213 GB, free: 136.4 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.003336/0.8218, allocations: 1.165 MB / 0.9225 GB, free: 136.4 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 9.849e-06/0.8218, allocations: 0 / 0.9225 GB, free: 136.4 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0009757/0.8228, allocations: 392 kB / 0.9228 GB, free: 136.3 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003981/0.8268, allocations: 0.8085 MB / 0.9236 GB, free: 136.3 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004157/0.8309, allocations: 2.792 MB / 0.9263 GB, free: 134.9 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005721/0.8316, allocations: 1.166 MB / 0.9275 GB, free: 134.2 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003782/0.8319, allocations: 109.5 kB / 0.9276 GB, free: 134.2 MB / 0.7325 GB Notification: Performance of SimCode: time 9.11e-07/0.8319, allocations: 0 / 0.9276 GB, free: 134.2 MB / 0.7325 GB Notification: Performance of Templates: time 0.04782/0.8798, allocations: 30.89 MB / 0.9578 GB, free: 122 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)