Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.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_TEva_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity") translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00134/0.00134, 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.001554/0.001554, allocations: 194.7 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.566/1.566, allocations: 205.1 MB / 222.1 MB, free: 4.727 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.822/1.822, allocations: 292.3 MB / 0.5485 GB, free: 13.64 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.00143/0.00143, allocations: 63.25 kB / 0.671 GB, free: 26.45 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3018/0.3032, allocations: 114.5 MB / 0.7828 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity): time 0.05958/0.3629, allocations: 60.72 MB / 0.8421 GB, free: 0.9609 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01813/0.381, allocations: 11.82 MB / 0.8537 GB, free: 5.105 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002941/0.384, allocations: 55.62 kB / 0.8537 GB, free: 5.051 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002229/0.3863, allocations: 0.5829 MB / 0.8543 GB, free: 4.465 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.006581/0.3929, allocations: 1.807 MB / 0.8561 GB, free: 2.652 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003629/0.3966, allocations: 1.113 MB / 0.8572 GB, free: 1.547 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.004975/0.4016, allocations: 3.105 MB / 0.8602 GB, free: 14.43 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001764/0.4033, allocations: 1.084 MB / 0.8613 GB, free: 13.32 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003774/0.4071, allocations: 1.35 MB / 0.8626 GB, free: 11.96 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001562/0.4087, allocations: 0.9335 MB / 0.8635 GB, free: 11.03 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001736/0.4089, allocations: 119.9 kB / 0.8636 GB, free: 10.91 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003066/0.412, allocations: 1.478 MB / 0.865 GB, free: 9.43 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0002882/0.4123, allocations: 294.9 kB / 0.8653 GB, free: 9.141 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0008206/0.4131, allocations: 0.6997 MB / 0.866 GB, free: 8.438 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.003779/0.4169, allocations: 2.322 MB / 0.8683 GB, free: 6.109 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.4169, allocations: 0 / 0.8683 GB, free: 6.109 MB / 0.6856 GB Notification: Performance of FrontEnd: time 3.146e-06/0.4169, allocations: 4 kB / 0.8683 GB, free: 6.105 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.465e-05/0.4169, allocations: 0 / 0.8683 GB, free: 6.105 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.003209/0.4201, allocations: 1.742 MB / 0.87 GB, free: 4.301 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.4202, allocations: 15.97 kB / 0.87 GB, free: 4.285 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001639/0.4218, allocations: 339 kB / 0.8703 GB, free: 3.953 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002106/0.424, allocations: 1.124 MB / 0.8714 GB, free: 2.773 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003356/0.4243, allocations: 121.9 kB / 0.8715 GB, free: 2.652 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000108/0.4244, allocations: 80 kB / 0.8716 GB, free: 2.574 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001886/0.4263, allocations: 0.9487 MB / 0.8725 GB, free: 1.59 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.878e-05/0.4264, allocations: 4 kB / 0.8725 GB, free: 1.586 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.578e-05/0.4264, allocations: 32 kB / 0.8726 GB, free: 1.555 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.187e-05/0.4265, allocations: 23.94 kB / 0.8726 GB, free: 1.531 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001946/0.4284, allocations: 0.8235 MB / 0.8734 GB, free: 0.707 MB / 0.6856 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.006677/0.4351, allocations: 4.481 MB / 0.8778 GB, free: 11.92 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001697/0.4368, allocations: 0.6253 MB / 0.8784 GB, free: 11.29 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006107/0.4375, allocations: 282 kB / 0.8787 GB, free: 11.01 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001511/0.439, allocations: 1.373 MB / 0.88 GB, free: 9.34 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.29e-05/0.439, allocations: 42.94 kB / 0.88 GB, free: 9.289 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=47): time 2.635e-06/0.439, allocations: 0 / 0.88 GB, free: 9.289 MB / 0.7012 GB Notification: Performance of matching and sorting (n=47): time 0.006996/0.446, allocations: 1.721 MB / 0.8817 GB, free: 7.539 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.125e-05/0.4461, allocations: 59.84 kB / 0.8818 GB, free: 7.469 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001822/0.4479, allocations: 1.056 MB / 0.8828 GB, free: 6.398 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 9.794e-05/0.448, allocations: 37.7 kB / 0.8828 GB, free: 6.355 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004437/0.4485, allocations: 0.5235 MB / 0.8834 GB, free: 5.828 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.000162/0.4487, allocations: 161.7 kB / 0.8835 GB, free: 5.668 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000237/0.4489, allocations: 138 kB / 0.8836 GB, free: 5.523 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.4491, allocations: 329.9 kB / 0.884 GB, free: 5.195 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007488/0.4498, allocations: 286.9 kB / 0.8842 GB, free: 4.914 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009464/0.4508, allocations: 483.2 kB / 0.8847 GB, free: 4.367 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001395/0.4522, allocations: 0.6348 MB / 0.8853 GB, free: 3.68 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.4522, allocations: 0 / 0.8853 GB, free: 3.68 MB / 0.7012 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002451/0.4546, allocations: 0.964 MB / 0.8862 GB, free: 2.707 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.271e-05/0.4547, allocations: 4 kB / 0.8863 GB, free: 2.703 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.214e-05/0.4547, allocations: 4 kB / 0.8863 GB, free: 2.699 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001285/0.456, allocations: 307.6 kB / 0.8866 GB, free: 2.398 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000494/0.4565, allocations: 119.8 kB / 0.8867 GB, free: 2.281 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001497/0.458, allocations: 0.9152 MB / 0.8876 GB, free: 1.34 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001253/0.4593, allocations: 167.2 kB / 0.8877 GB, free: 1.176 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.301e-05/0.4594, allocations: 31.98 kB / 0.8877 GB, free: 1.145 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001137/0.4605, allocations: 497.1 kB / 0.8882 GB, free: 0.6562 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009038/0.4614, allocations: 482.1 kB / 0.8887 GB, free: 112 kB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0014/0.4628, allocations: 0.627 MB / 0.8893 GB, free: 15.43 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.264e-06/0.4628, allocations: 0 / 0.8893 GB, free: 15.43 MB / 0.7169 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.002328/0.4652, allocations: 0.9521 MB / 0.8902 GB, free: 14.47 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.4652, allocations: 8 kB / 0.8902 GB, free: 14.46 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.4652, allocations: 4 kB / 0.8902 GB, free: 14.46 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001101/0.4663, allocations: 312.9 kB / 0.8905 GB, free: 14.15 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004579/0.4668, allocations: 119.7 kB / 0.8906 GB, free: 14.03 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001383/0.4682, allocations: 0.9068 MB / 0.8915 GB, free: 13.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001255/0.4694, allocations: 151.5 kB / 0.8917 GB, free: 12.95 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-05/0.4695, allocations: 31.98 kB / 0.8917 GB, free: 12.92 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (55): * Single equations (assignments): 54 * 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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0003015/0.4698, allocations: 216.1 kB / 0.8919 GB, free: 12.7 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000204/0.47, allocations: 110.6 kB / 0.892 GB, free: 12.59 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003029/0.4731, allocations: 1.072 MB / 0.8931 GB, free: 11.51 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.716e-05/0.4731, allocations: 8 kB / 0.8931 GB, free: 11.5 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.4731, allocations: 4 kB / 0.8931 GB, free: 11.5 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-06/0.4731, allocations: 3.984 kB / 0.8931 GB, free: 11.49 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004807/0.4779, allocations: 2.122 MB / 0.8952 GB, free: 9.285 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.448e-06/0.478, allocations: 4 kB / 0.8952 GB, free: 9.281 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002381/0.4782, allocations: 68.17 kB / 0.8952 GB, free: 9.215 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009785/0.4792, allocations: 304.5 kB / 0.8955 GB, free: 8.914 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.126e-05/0.4793, allocations: 15.98 kB / 0.8955 GB, free: 8.898 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001502/0.4808, allocations: 0.9369 MB / 0.8964 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.119e-06/0.4808, allocations: 7.938 kB / 0.8965 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003514/0.4843, allocations: 1.157 MB / 0.8976 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005899/0.4849, allocations: 267.5 kB / 0.8978 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001511/0.4851, allocations: 12 kB / 0.8978 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008355/0.4859, allocations: 87.81 kB / 0.8979 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.827e-05/0.486, allocations: 43.83 kB / 0.898 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.511e-05/0.4861, allocations: 23.98 kB / 0.898 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001221/0.4873, allocations: 0.743 MB / 0.8987 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.5e-07/0.4873, allocations: 0 / 0.8987 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001654/0.489, allocations: 0.5732 MB / 0.8993 GB, free: 4.953 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (37): * Single equations (assignments): 32 * 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,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008278/0.4898, allocations: 398.7 kB / 0.8997 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002953/0.4928, allocations: 1.077 MB / 0.9007 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.4928, allocations: 0 / 0.9007 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0008084/0.4936, allocations: 343.3 kB / 0.901 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002546/0.4962, allocations: 0.5328 MB / 0.9016 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003712/0.4999, allocations: 2.242 MB / 0.9038 GB, free: 340 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006733/0.5006, allocations: 1.066 MB / 0.9048 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001012/0.5016, allocations: 227.7 kB / 0.905 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001823/0.5018, allocations: 83.41 kB / 0.9051 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of SimCode: time 7.21e-07/0.5018, allocations: 0 / 0.9051 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of Templates: time 0.5447/1.047, allocations: 25.32 MB / 0.9298 GB, free: 129.9 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.makefile (rm -f Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe ; mkfifo Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe >> ../files/Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.sim & ./Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe 2>&1)