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.001474/0.001474, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002048/0.002048, allocations: 194.7 kB / 16.53 MB, free: 6.664 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.637/1.637, allocations: 205.1 MB / 222.4 MB, free: 4.578 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.865/1.865, allocations: 292.3 MB / 0.5489 GB, free: 12.86 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.001458/0.001458, allocations: 71.86 kB / 0.6715 GB, free: 26.33 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2436/0.2451, allocations: 114.6 MB / 0.7834 GB, free: 13.53 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL): time 0.06897/0.3141, allocations: 75.19 MB / 0.8568 GB, free: 2.066 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01681/0.3309, allocations: 12.64 MB / 0.8691 GB, free: 5.398 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002604/0.3336, allocations: 63.62 kB / 0.8692 GB, free: 5.336 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.002235/0.3359, allocations: 0.8345 MB / 0.87 GB, free: 4.496 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.006791/0.3427, allocations: 2.444 MB / 0.8724 GB, free: 2.043 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.003585/0.3463, allocations: 1.384 MB / 0.8737 GB, free: 0.6719 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.006055/0.3523, allocations: 4.341 MB / 0.878 GB, free: 12.32 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002076/0.3544, allocations: 1.449 MB / 0.8794 GB, free: 10.83 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003953/0.3584, allocations: 1.608 MB / 0.881 GB, free: 9.223 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002595/0.361, allocations: 1.19 MB / 0.8821 GB, free: 8.027 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0003579/0.3614, allocations: 164 kB / 0.8823 GB, free: 7.867 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003715/0.3651, allocations: 1.427 MB / 0.8837 GB, free: 6.438 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0004682/0.3656, allocations: 402.6 kB / 0.8841 GB, free: 6.043 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.001341/0.3669, allocations: 0.906 MB / 0.8849 GB, free: 5.133 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.00487/0.3718, allocations: 2.855 MB / 0.8877 GB, free: 2.27 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 9.087e-06/0.3719, allocations: 0 / 0.8877 GB, free: 2.27 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.425e-06/0.3719, allocations: 0 / 0.8877 GB, free: 2.27 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 2.83e-05/0.3719, allocations: 4 kB / 0.8877 GB, free: 2.266 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.003628/0.3755, allocations: 2.083 MB / 0.8898 GB, free: 120 kB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.3756, allocations: 8.031 kB / 0.8898 GB, free: 112 kB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008327/0.3764, allocations: 226.8 kB / 0.89 GB, free: 15.89 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00227/0.3787, allocations: 1.442 MB / 0.8914 GB, free: 14.39 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.034e-05/0.3788, allocations: 78 kB / 0.8915 GB, free: 14.31 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001487/0.379, allocations: 103.9 kB / 0.8916 GB, free: 14.21 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001881/0.3808, allocations: 1.104 MB / 0.8927 GB, free: 13.07 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.545e-05/0.3809, allocations: 0 / 0.8927 GB, free: 13.07 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.15e-05/0.381, allocations: 48 kB / 0.8927 GB, free: 13.02 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.532e-05/0.381, allocations: 24 kB / 0.8927 GB, free: 13 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001831/0.3829, allocations: 0.8861 MB / 0.8936 GB, free: 12.12 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.006401/0.3893, allocations: 4.965 MB / 0.8984 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001446/0.3908, allocations: 0.6245 MB / 0.899 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007096/0.3915, allocations: 354.3 kB / 0.8994 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008037/0.3923, allocations: 0.8238 MB / 0.9002 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.327e-05/0.3924, allocations: 51.06 kB / 0.9002 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=62): time 3.787e-06/0.3924, allocations: 0 / 0.9002 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of matching and sorting (n=62): time 0.007406/0.3998, allocations: 1.693 MB / 0.9019 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.198e-05/0.3999, allocations: 55.97 kB / 0.9019 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001732/0.4016, allocations: 1.221 MB / 0.9031 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001306/0.4018, allocations: 41.7 kB / 0.9032 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005226/0.4023, allocations: 0.5987 MB / 0.9038 GB, free: 1.133 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.000275/0.4026, allocations: 224.8 kB / 0.904 GB, free: 0.9102 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000244/0.4028, allocations: 154.5 kB / 0.9041 GB, free: 0.7539 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.4029, allocations: 334 kB / 0.9044 GB, free: 432 kB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006465/0.4036, allocations: 292.6 kB / 0.9047 GB, free: 136 kB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008102/0.4044, allocations: 497.8 kB / 0.9052 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001367/0.4058, allocations: 0.7081 MB / 0.9059 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.612e-06/0.4058, allocations: 7.938 kB / 0.9059 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004731/0.4106, allocations: 1.269 MB / 0.9071 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.724e-05/0.4106, allocations: 12.03 kB / 0.9071 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.4106, allocations: 4 kB / 0.9072 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006973/0.4113, allocations: 156.7 kB / 0.9073 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005779/0.4119, allocations: 151.8 kB / 0.9074 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008283/0.4127, allocations: 0.7239 MB / 0.9082 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001144/0.4139, allocations: 127.1 kB / 0.9083 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.836e-05/0.414, allocations: 27.98 kB / 0.9083 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001097/0.4151, allocations: 0.5572 MB / 0.9088 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007986/0.4159, allocations: 487 kB / 0.9093 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001352/0.4173, allocations: 0.7042 MB / 0.91 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.485e-06/0.4173, allocations: 0 / 0.91 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004803/0.4221, allocations: 1.273 MB / 0.9112 GB, free: 9.164 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.4221, allocations: 7.344 kB / 0.9112 GB, free: 9.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.313e-06/0.4221, allocations: 8 kB / 0.9113 GB, free: 9.152 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006471/0.4228, allocations: 156.7 kB / 0.9114 GB, free: 8.996 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006071/0.4234, allocations: 155.8 kB / 0.9116 GB, free: 8.844 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008236/0.4242, allocations: 0.7162 MB / 0.9123 GB, free: 8.102 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001243/0.4255, allocations: 107.5 kB / 0.9124 GB, free: 7.996 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.889e-05/0.4256, allocations: 35.98 kB / 0.9124 GB, free: 7.961 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.00025/0.4258, allocations: 220.1 kB / 0.9126 GB, free: 7.738 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002433/0.4261, allocations: 134.4 kB / 0.9127 GB, free: 7.605 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004806/0.4309, allocations: 1.291 MB / 0.914 GB, free: 6.297 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.634e-05/0.4309, allocations: 8 kB / 0.914 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.286e-06/0.4309, allocations: 3.984 kB / 0.914 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004273/0.4352, allocations: 1.107 MB / 0.9151 GB, free: 5.145 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006997/0.4422, allocations: 2.629 MB / 0.9176 GB, free: 2.402 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.648e-06/0.4423, allocations: 4 kB / 0.9177 GB, free: 2.398 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004977/0.4428, allocations: 111.8 kB / 0.9178 GB, free: 2.289 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006074/0.4434, allocations: 152.8 kB / 0.9179 GB, free: 2.137 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.831e-05/0.4435, allocations: 20 kB / 0.9179 GB, free: 2.117 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007853/0.4443, allocations: 0.7084 MB / 0.9186 GB, free: 1.383 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/0.4443, allocations: 7.938 kB / 0.9186 GB, free: 1.375 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5253/0.9695, allocations: 1.702 MB / 0.9203 GB, free: 135.9 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000949/0.9705, allocations: 309.4 kB / 0.9206 GB, free: 135.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002239/0.9708, allocations: 17.91 kB / 0.9206 GB, free: 135.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008929/0.9717, allocations: 53.91 kB / 0.9206 GB, free: 135.8 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001546/0.9718, allocations: 53.14 kB / 0.9207 GB, free: 135.8 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.624e-05/0.9719, allocations: 32.33 kB / 0.9207 GB, free: 135.8 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001593/0.9735, allocations: 0.8785 MB / 0.9216 GB, free: 135.7 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.51e-07/0.9735, allocations: 4.969 kB / 0.9216 GB, free: 135.7 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002401/0.9759, allocations: 0.7167 MB / 0.9223 GB, free: 135.7 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.001109/0.9771, allocations: 468.6 kB / 0.9227 GB, free: 135.6 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.003393/0.9805, allocations: 1.154 MB / 0.9239 GB, free: 135.6 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.642e-06/0.9805, allocations: 0.8438 kB / 0.9239 GB, free: 135.6 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0009919/0.9815, allocations: 395 kB / 0.9242 GB, free: 135.5 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003544/0.985, allocations: 0.8148 MB / 0.925 GB, free: 135.4 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003569/0.9886, allocations: 2.292 MB / 0.9273 GB, free: 134.2 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006199/0.9893, allocations: 1.168 MB / 0.9284 GB, free: 133.5 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001334/0.9906, allocations: 305.6 kB / 0.9287 GB, free: 133.5 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002403/0.9908, allocations: 109.7 kB / 0.9288 GB, free: 133.5 MB / 0.7325 GB Notification: Performance of SimCode: time 6.61e-07/0.9909, allocations: 0 / 0.9288 GB, free: 133.5 MB / 0.7325 GB Notification: Performance of Templates: time 0.06658/1.057, allocations: 32.25 MB / 0.9603 GB, free: 121.2 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)