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.0008745/0.0008745, allocations: 91.3 kB / 15.36 MB, free: 0.7383 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.01064/0.01064, allocations: 172.9 kB / 16.26 MB, free: 6.613 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.672/1.672, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.784/1.784, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.0005811/0.0005811, allocations: 16.28 kB / 0.6743 GB, free: 25.8 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2738/0.2744, allocations: 116.3 MB / 0.7879 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL): time 0.07906/0.3535, allocations: 73.46 MB / 0.8596 GB, free: 1.891 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.0179/0.3715, allocations: 12.57 MB / 0.8719 GB, free: 5.297 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002805/0.3743, allocations: 55.62 kB / 0.8719 GB, free: 5.242 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.002362/0.3767, allocations: 0.6759 MB / 0.8726 GB, free: 4.562 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.00787/0.3846, allocations: 2.244 MB / 0.8748 GB, free: 2.309 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.005142/0.3898, allocations: 1.275 MB / 0.876 GB, free: 1.047 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.008057/0.3978, allocations: 5.507 MB / 0.8814 GB, free: 11.52 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002466/0.4003, allocations: 1.155 MB / 0.8825 GB, free: 10.33 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003714/0.4041, allocations: 1.31 MB / 0.8838 GB, free: 9.012 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002481/0.4066, allocations: 1.135 MB / 0.8849 GB, free: 7.871 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0004675/0.4071, allocations: 56 kB / 0.885 GB, free: 7.816 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003407/0.4105, allocations: 1.251 MB / 0.8862 GB, free: 6.562 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0006095/0.4111, allocations: 298.6 kB / 0.8865 GB, free: 6.27 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.001735/0.4129, allocations: 0.7906 MB / 0.8873 GB, free: 5.469 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.004818/0.4177, allocations: 2.73 MB / 0.8899 GB, free: 2.73 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 8.216e-06/0.4177, allocations: 4 kB / 0.8899 GB, free: 2.727 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.983e-06/0.4178, allocations: 4 kB / 0.8899 GB, free: 2.723 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 7.585e-05/0.4178, allocations: 0 / 0.8899 GB, free: 2.723 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.004159/0.422, allocations: 1.787 MB / 0.8917 GB, free: 0.8711 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 8.034e-05/0.4221, allocations: 8.031 kB / 0.8917 GB, free: 0.8633 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009402/0.423, allocations: 250.8 kB / 0.8919 GB, free: 0.6172 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002962/0.426, allocations: 1.469 MB / 0.8934 GB, free: 15.09 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.538e-05/0.4261, allocations: 78 kB / 0.8934 GB, free: 15.02 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002308/0.4264, allocations: 100 kB / 0.8935 GB, free: 14.92 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002352/0.4287, allocations: 1.124 MB / 0.8946 GB, free: 13.76 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.737e-05/0.4288, allocations: 0 / 0.8946 GB, free: 13.76 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.456e-05/0.4289, allocations: 36 kB / 0.8947 GB, free: 13.72 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.57e-05/0.4289, allocations: 35.94 kB / 0.8947 GB, free: 13.69 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00209/0.431, allocations: 0.9251 MB / 0.8956 GB, free: 12.77 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.00711/0.4381, allocations: 4.938 MB / 0.9004 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00142/0.4396, allocations: 0.6544 MB / 0.9011 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007589/0.4404, allocations: 370.3 kB / 0.9014 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006305/0.441, allocations: 0.8238 MB / 0.9022 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.367e-05/0.4411, allocations: 43.12 kB / 0.9023 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=62): time 2.365e-06/0.4411, allocations: 0 / 0.9023 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of matching and sorting (n=62): time 0.007651/0.4487, allocations: 1.896 MB / 0.9041 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.766e-05/0.4488, allocations: 55.97 kB / 0.9042 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00231/0.4511, allocations: 1.209 MB / 0.9053 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001269/0.4513, allocations: 45.7 kB / 0.9054 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.000517/0.4518, allocations: 0.6025 MB / 0.906 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002298/0.452, allocations: 216.9 kB / 0.9062 GB, free: 1.355 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.652e-05/0.4522, allocations: 61.69 kB / 0.9062 GB, free: 1.289 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.4523, allocations: 334 kB / 0.9066 GB, free: 0.957 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007525/0.453, allocations: 301.8 kB / 0.9068 GB, free: 0.6602 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008857/0.4539, allocations: 0.5019 MB / 0.9073 GB, free: 92 kB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001527/0.4555, allocations: 0.7551 MB / 0.9081 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/0.4555, allocations: 3.938 kB / 0.9081 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005038/0.4605, allocations: 1.414 MB / 0.9095 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001397/0.4607, allocations: 193.3 kB / 0.9096 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-06/0.4607, allocations: 0 / 0.9096 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000718/0.4614, allocations: 164.7 kB / 0.9098 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006146/0.462, allocations: 163.8 kB / 0.91 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009743/0.463, allocations: 0.7386 MB / 0.9107 GB, free: 12.53 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001438/0.4645, allocations: 171 kB / 0.9108 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.122e-05/0.4646, allocations: 31.98 kB / 0.9109 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.4646, allocations: 6.969 kB / 0.9109 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004589/0.4692, allocations: 1.265 MB / 0.9121 GB, free: 11.06 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.4692, allocations: 0 / 0.9121 GB, free: 11.06 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006208/0.4699, allocations: 169.1 kB / 0.9123 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005982/0.4705, allocations: 155.8 kB / 0.9124 GB, free: 10.74 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008465/0.4713, allocations: 0.7435 MB / 0.9131 GB, free: 9.969 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001267/0.4726, allocations: 155.2 kB / 0.9133 GB, free: 9.816 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.268e-05/0.4727, allocations: 27.98 kB / 0.9133 GB, free: 9.789 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.0006992/0.4734, allocations: 429.5 kB / 0.9137 GB, free: 9.359 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003274/0.4737, allocations: 138.3 kB / 0.9139 GB, free: 9.223 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005082/0.4788, allocations: 1.412 MB / 0.9152 GB, free: 7.797 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.866e-05/0.4789, allocations: 8 kB / 0.9152 GB, free: 7.789 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.046e-05/0.4789, allocations: 11.98 kB / 0.9153 GB, free: 7.777 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004547/0.4834, allocations: 1.248 MB / 0.9165 GB, free: 6.496 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007536/0.491, allocations: 2.746 MB / 0.9192 GB, free: 3.641 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-05/0.4911, allocations: 4 kB / 0.9192 GB, free: 3.637 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004996/0.4916, allocations: 124.2 kB / 0.9193 GB, free: 3.516 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006273/0.4922, allocations: 152.7 kB / 0.9194 GB, free: 3.363 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.065e-05/0.4923, allocations: 19.98 kB / 0.9194 GB, free: 3.344 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008518/0.4931, allocations: 0.7318 MB / 0.9202 GB, free: 2.586 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.433e-06/0.4932, allocations: 4 kB / 0.9202 GB, free: 2.582 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005695/0.4989, allocations: 1.848 MB / 0.922 GB, free: 0.6641 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007853/0.4997, allocations: 343.1 kB / 0.9223 GB, free: 316 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003079/0.5, allocations: 12 kB / 0.9223 GB, free: 304 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001062/0.5011, allocations: 91.84 kB / 0.9224 GB, free: 212 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001162/0.5012, allocations: 64.19 kB / 0.9225 GB, free: 148 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.378e-05/0.5013, allocations: 31.97 kB / 0.9225 GB, free: 116 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.4892/0.9905, allocations: 0.863 MB / 0.9233 GB, free: 133.1 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8.92e-07/0.9905, allocations: 0 / 0.9233 GB, free: 133.1 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002552/0.9931, allocations: 0.6982 MB / 0.924 GB, free: 133.1 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.001032/0.9941, allocations: 446.5 kB / 0.9244 GB, free: 133 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.003155/0.9973, allocations: 1.181 MB / 0.9256 GB, free: 133 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.895e-06/0.9973, allocations: 1.062 kB / 0.9256 GB, free: 133 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0009999/0.9983, allocations: 408.1 kB / 0.926 GB, free: 133 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004687/1.003, allocations: 0.8011 MB / 0.9268 GB, free: 132.9 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003572/1.007, allocations: 2.801 MB / 0.9295 GB, free: 131.5 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000526/1.007, allocations: 1.169 MB / 0.9306 GB, free: 130.8 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001234/1.008, allocations: 306.3 kB / 0.9309 GB, free: 130.8 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002765/1.009, allocations: 111.7 kB / 0.931 GB, free: 130.8 MB / 0.7325 GB Notification: Performance of SimCode: time 9.22e-07/1.009, allocations: 3.938 kB / 0.931 GB, free: 130.8 MB / 0.7325 GB Notification: Performance of Templates: time 0.06157/1.07, allocations: 31.96 MB / 0.9623 GB, free: 118.7 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: