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.001312/0.001312, allocations: 109.4 kB / 15.69 MB, free: 128 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.001631/0.00163, allocations: 186.8 kB / 16.62 MB, free: 6.582 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.588/1.588, allocations: 205.1 MB / 222.5 MB, free: 4.551 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.838/1.838, allocations: 292.3 MB / 0.549 GB, free: 12.69 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.001476/0.001476, allocations: 72.98 kB / 0.6722 GB, free: 25.87 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.265/0.2665, allocations: 114.6 MB / 0.7841 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL): time 0.07047/0.337, allocations: 75.18 MB / 0.8575 GB, free: 1.27 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02094/0.358, allocations: 12.64 MB / 0.8699 GB, free: 4.602 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003295/0.3614, allocations: 63.62 kB / 0.8699 GB, free: 4.539 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.00252/0.364, allocations: 0.8306 MB / 0.8708 GB, free: 3.703 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.007492/0.3715, allocations: 2.437 MB / 0.8731 GB, free: 1.258 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.00368/0.3752, allocations: 1.408 MB / 0.8745 GB, free: 15.86 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.006898/0.3821, allocations: 4.345 MB / 0.8787 GB, free: 11.5 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002378/0.3845, allocations: 1.441 MB / 0.8802 GB, free: 10.02 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003864/0.3884, allocations: 1.624 MB / 0.8817 GB, free: 8.398 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002224/0.3906, allocations: 1.194 MB / 0.8829 GB, free: 7.199 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.000371/0.391, allocations: 164 kB / 0.8831 GB, free: 7.039 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003244/0.3943, allocations: 1.427 MB / 0.8845 GB, free: 5.609 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0004067/0.3947, allocations: 398.6 kB / 0.8848 GB, free: 5.219 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.001097/0.3958, allocations: 0.9099 MB / 0.8857 GB, free: 4.305 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.004147/0.3999, allocations: 2.875 MB / 0.8885 GB, free: 1.422 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 9.428e-06/0.4, allocations: 4 kB / 0.8885 GB, free: 1.418 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.873e-06/0.4, allocations: 0 / 0.8885 GB, free: 1.418 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 4.568e-05/0.4, allocations: 0 / 0.8885 GB, free: 1.418 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.004503/0.4046, allocations: 2.087 MB / 0.8906 GB, free: 15.27 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.912e-05/0.4046, allocations: 8.031 kB / 0.8906 GB, free: 15.26 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001005/0.4056, allocations: 234.8 kB / 0.8908 GB, free: 15.03 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00277/0.4084, allocations: 1.504 MB / 0.8923 GB, free: 13.46 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.744e-05/0.4085, allocations: 78 kB / 0.8924 GB, free: 13.39 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001451/0.4087, allocations: 108 kB / 0.8925 GB, free: 13.29 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002014/0.4107, allocations: 1.1 MB / 0.8935 GB, free: 12.15 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.581e-05/0.4107, allocations: 4 kB / 0.8935 GB, free: 12.14 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.315e-05/0.4108, allocations: 40 kB / 0.8936 GB, free: 12.11 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.711e-05/0.4109, allocations: 27.94 kB / 0.8936 GB, free: 12.08 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001937/0.4128, allocations: 0.89 MB / 0.8945 GB, free: 11.19 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.007239/0.4201, allocations: 4.915 MB / 0.8993 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001426/0.4215, allocations: 0.6284 MB / 0.8999 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007082/0.4222, allocations: 353.1 kB / 0.9002 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007123/0.423, allocations: 0.8238 MB / 0.901 GB, free: 4 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.444e-05/0.423, allocations: 47.12 kB / 0.9011 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=62): time 3.977e-06/0.423, allocations: 0 / 0.9011 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of matching and sorting (n=62): time 0.007157/0.4302, allocations: 1.689 MB / 0.9027 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.546e-05/0.4303, allocations: 63.97 kB / 0.9028 GB, free: 2.148 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002101/0.4324, allocations: 1.221 MB / 0.904 GB, free: 0.9102 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0002152/0.4326, allocations: 37.7 kB / 0.904 GB, free: 0.8672 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006426/0.4333, allocations: 0.5948 MB / 0.9046 GB, free: 272 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003044/0.4336, allocations: 220.9 kB / 0.9048 GB, free: 48 kB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003136/0.4339, allocations: 158.6 kB / 0.9049 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001526/0.4341, allocations: 330 kB / 0.9053 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000722/0.4348, allocations: 292.6 kB / 0.9055 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009362/0.4357, allocations: 498 kB / 0.906 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001462/0.4372, allocations: 0.7197 MB / 0.9067 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.062e-06/0.4372, allocations: 3.938 kB / 0.9067 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004964/0.4422, allocations: 1.273 MB / 0.908 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.953e-05/0.4423, allocations: 11 kB / 0.908 GB, free: 12.65 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/0.4423, allocations: 7.938 kB / 0.908 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007472/0.443, allocations: 152.7 kB / 0.9081 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006606/0.4437, allocations: 159.8 kB / 0.9083 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009088/0.4446, allocations: 0.7161 MB / 0.909 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001175/0.4458, allocations: 123.1 kB / 0.9091 GB, free: 11.47 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.856e-05/0.4459, allocations: 35.97 kB / 0.9091 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001112/0.447, allocations: 0.5498 MB / 0.9097 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008752/0.4479, allocations: 495 kB / 0.9101 GB, free: 10.32 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001464/0.4494, allocations: 0.7042 MB / 0.9108 GB, free: 9.57 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.695e-06/0.4494, allocations: 0 / 0.9108 GB, free: 9.57 MB / 0.7325 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004664/0.4541, allocations: 1.269 MB / 0.9121 GB, free: 8.289 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.4541, allocations: 8.375 kB / 0.9121 GB, free: 8.281 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.4541, allocations: 8 kB / 0.9121 GB, free: 8.273 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000617/0.4547, allocations: 152.7 kB / 0.9122 GB, free: 8.121 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005935/0.4553, allocations: 151.8 kB / 0.9124 GB, free: 7.973 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008346/0.4562, allocations: 0.7279 MB / 0.9131 GB, free: 7.219 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001095/0.4573, allocations: 107.5 kB / 0.9132 GB, free: 7.113 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.685e-05/0.4574, allocations: 35.98 kB / 0.9132 GB, free: 7.078 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.0002815/0.4577, allocations: 220.1 kB / 0.9134 GB, free: 6.855 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002498/0.4579, allocations: 130.4 kB / 0.9136 GB, free: 6.727 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004639/0.4626, allocations: 1.283 MB / 0.9148 GB, free: 5.426 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.646e-05/0.4626, allocations: 11.98 kB / 0.9148 GB, free: 5.414 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.4626, allocations: 0 / 0.9148 GB, free: 5.414 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004027/0.4667, allocations: 1.111 MB / 0.9159 GB, free: 4.27 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007087/0.4738, allocations: 2.625 MB / 0.9185 GB, free: 1.535 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.538e-06/0.4738, allocations: 7.984 kB / 0.9185 GB, free: 1.527 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004967/0.4743, allocations: 120.2 kB / 0.9186 GB, free: 1.41 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006064/0.4749, allocations: 144.7 kB / 0.9187 GB, free: 1.266 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.555e-05/0.475, allocations: 16 kB / 0.9187 GB, free: 1.25 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008401/0.4758, allocations: 0.7161 MB / 0.9194 GB, free: 0.5078 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/0.4758, allocations: 4 kB / 0.9194 GB, free: 0.5039 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5033/0.9792, allocations: 1.695 MB / 0.9211 GB, free: 135.8 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009035/0.9801, allocations: 312.7 kB / 0.9214 GB, free: 135.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002196/0.9803, allocations: 15.94 kB / 0.9214 GB, free: 135.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008956/0.9812, allocations: 60.84 kB / 0.9215 GB, free: 135.7 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001459/0.9814, allocations: 53.44 kB / 0.9215 GB, free: 135.7 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.726e-05/0.9815, allocations: 32.34 kB / 0.9216 GB, free: 135.7 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001442/0.9829, allocations: 0.8796 MB / 0.9224 GB, free: 135.5 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.61e-07/0.9829, allocations: 0 / 0.9224 GB, free: 135.5 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002102/0.985, allocations: 0.7132 MB / 0.9231 GB, free: 135.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.0009882/0.986, allocations: 463.6 kB / 0.9236 GB, free: 135.5 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002712/0.9888, allocations: 1.128 MB / 0.9247 GB, free: 135.4 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/0.9888, allocations: 1.344 kB / 0.9247 GB, free: 135.4 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0008802/0.9897, allocations: 391.9 kB / 0.925 GB, free: 135.3 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003274/0.993, allocations: 0.8073 MB / 0.9258 GB, free: 135.2 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003303/0.9963, allocations: 2.263 MB / 0.928 GB, free: 134 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006437/0.9969, allocations: 1.168 MB / 0.9292 GB, free: 133.2 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001159/0.9981, allocations: 309.7 kB / 0.9295 GB, free: 133.2 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002326/0.9983, allocations: 107.9 kB / 0.9296 GB, free: 133.2 MB / 0.7325 GB Notification: Performance of SimCode: time 6.21e-07/0.9984, allocations: 0 / 0.9296 GB, free: 133.2 MB / 0.7325 GB Notification: Performance of Templates: time 0.06051/1.059, allocations: 32.22 MB / 0.961 GB, free: 120.5 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)