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.00156/0.00156, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001719/0.001718, allocations: 195.1 kB / 16.14 MB, free: 6.711 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.433/1.433, allocations: 205.1 MB / 222 MB, free: 4.652 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.706/1.706, allocations: 292.2 MB / 0.5484 GB, free: 13.73 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.001364/0.001364, allocations: 63.55 kB / 0.6708 GB, free: 26.58 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2926/0.294, allocations: 114.6 MB / 0.7827 GB, free: 14.08 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity): time 0.05791/0.352, allocations: 60.87 MB / 0.8421 GB, free: 0.9922 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0184/0.3705, allocations: 11.97 MB / 0.8538 GB, free: 4.988 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003198/0.3737, allocations: 55.62 kB / 0.8539 GB, free: 4.934 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003266/0.3771, allocations: 0.5477 MB / 0.8544 GB, free: 4.383 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.006745/0.3838, allocations: 1.785 MB / 0.8561 GB, free: 2.59 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003896/0.3878, allocations: 1.102 MB / 0.8572 GB, free: 1.496 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.005878/0.3937, allocations: 3.89 MB / 0.861 GB, free: 13.59 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001652/0.3953, allocations: 0.9236 MB / 0.8619 GB, free: 12.64 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00276/0.3981, allocations: 1.163 MB / 0.863 GB, free: 11.47 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00161/0.3998, allocations: 0.9021 MB / 0.8639 GB, free: 10.57 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.00017/0.3999, allocations: 56 kB / 0.864 GB, free: 10.51 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002963/0.4029, allocations: 1.364 MB / 0.8653 GB, free: 9.145 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.000279/0.4032, allocations: 234.8 kB / 0.8655 GB, free: 8.914 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0009778/0.4042, allocations: 0.6373 MB / 0.8662 GB, free: 8.273 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.003569/0.4078, allocations: 2.259 MB / 0.8684 GB, free: 6.008 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.323e-06/0.4078, allocations: 3.938 kB / 0.8684 GB, free: 6.004 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.673e-06/0.4078, allocations: 0 / 0.8684 GB, free: 6.004 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 3.185e-05/0.4079, allocations: 4 kB / 0.8684 GB, free: 6 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.003301/0.4112, allocations: 1.746 MB / 0.8701 GB, free: 4.191 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/0.4112, allocations: 8.031 kB / 0.8701 GB, free: 4.184 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001745/0.413, allocations: 347 kB / 0.8704 GB, free: 3.844 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002149/0.4151, allocations: 1.116 MB / 0.8715 GB, free: 2.672 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003465/0.4155, allocations: 117.9 kB / 0.8716 GB, free: 2.555 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001153/0.4156, allocations: 84 kB / 0.8717 GB, free: 2.473 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00191/0.4175, allocations: 0.9487 MB / 0.8726 GB, free: 1.488 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.257e-05/0.4176, allocations: 0 / 0.8726 GB, free: 1.488 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.53e-05/0.4177, allocations: 36 kB / 0.8727 GB, free: 1.453 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.184e-05/0.4177, allocations: 23.98 kB / 0.8727 GB, free: 1.43 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002112/0.4198, allocations: 0.8196 MB / 0.8735 GB, free: 0.6094 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.006755/0.4266, allocations: 4.485 MB / 0.8779 GB, free: 11.82 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00171/0.4283, allocations: 0.6199 MB / 0.8785 GB, free: 11.19 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006325/0.429, allocations: 282 kB / 0.8787 GB, free: 10.91 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001364/0.4303, allocations: 1.373 MB / 0.8801 GB, free: 9.242 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.76e-05/0.4304, allocations: 39 kB / 0.8801 GB, free: 9.195 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=47): time 2.856e-06/0.4304, allocations: 4 kB / 0.8801 GB, free: 9.191 MB / 0.7012 GB Notification: Performance of matching and sorting (n=47): time 0.00701/0.4374, allocations: 1.717 MB / 0.8818 GB, free: 7.445 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.654e-05/0.4375, allocations: 55.84 kB / 0.8818 GB, free: 7.379 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002259/0.4398, allocations: 1.056 MB / 0.8829 GB, free: 6.309 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001212/0.4399, allocations: 41.7 kB / 0.8829 GB, free: 6.262 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005774/0.4405, allocations: 0.5235 MB / 0.8834 GB, free: 5.734 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002125/0.4408, allocations: 161.7 kB / 0.8836 GB, free: 5.574 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002808/0.441, allocations: 134 kB / 0.8837 GB, free: 5.434 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.4412, allocations: 333.9 kB / 0.884 GB, free: 5.102 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008314/0.442, allocations: 290.9 kB / 0.8843 GB, free: 4.816 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009876/0.443, allocations: 479.3 kB / 0.8848 GB, free: 4.27 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001551/0.4446, allocations: 0.6348 MB / 0.8854 GB, free: 3.582 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.614e-06/0.4446, allocations: 4 kB / 0.8854 GB, free: 3.578 MB / 0.7012 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002848/0.4475, allocations: 0.9561 MB / 0.8863 GB, free: 2.613 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.444e-05/0.4475, allocations: 4.344 kB / 0.8863 GB, free: 2.609 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/0.4475, allocations: 11.94 kB / 0.8863 GB, free: 2.598 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001448/0.449, allocations: 312.6 kB / 0.8866 GB, free: 2.289 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004977/0.4495, allocations: 115.9 kB / 0.8867 GB, free: 2.176 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001518/0.451, allocations: 0.9183 MB / 0.8876 GB, free: 1.234 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001419/0.4525, allocations: 163.2 kB / 0.8878 GB, free: 1.074 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.072e-05/0.4526, allocations: 35.98 kB / 0.8878 GB, free: 1.039 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001182/0.4538, allocations: 0.4893 MB / 0.8883 GB, free: 0.5469 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000957/0.4547, allocations: 478.5 kB / 0.8888 GB, free: 8 kB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001542/0.4563, allocations: 0.6309 MB / 0.8894 GB, free: 15.33 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.15e-06/0.4563, allocations: 0 / 0.8894 GB, free: 15.33 MB / 0.7169 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.002763/0.4591, allocations: 0.9561 MB / 0.8903 GB, free: 14.36 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.4591, allocations: 10.5 kB / 0.8903 GB, free: 14.35 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.4591, allocations: 4 kB / 0.8903 GB, free: 14.35 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001152/0.4603, allocations: 304.8 kB / 0.8906 GB, free: 14.05 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004953/0.4608, allocations: 119.8 kB / 0.8907 GB, free: 13.93 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001486/0.4623, allocations: 0.9074 MB / 0.8916 GB, free: 13 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001597/0.4639, allocations: 143.6 kB / 0.8918 GB, free: 12.86 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001142/0.464, allocations: 31.98 kB / 0.8918 GB, free: 12.82 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.00045/0.4645, allocations: 221.8 kB / 0.892 GB, free: 12.6 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000557/0.4651, allocations: 114.6 kB / 0.8921 GB, free: 12.49 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003796/0.4689, allocations: 1.07 MB / 0.8932 GB, free: 11.4 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.219e-05/0.4689, allocations: 8 kB / 0.8932 GB, free: 11.39 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.168e-05/0.4689, allocations: 0 / 0.8932 GB, free: 11.39 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.628e-06/0.4689, allocations: 3.984 kB / 0.8932 GB, free: 11.39 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005936/0.4749, allocations: 2.134 MB / 0.8953 GB, free: 9.172 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.275e-05/0.4749, allocations: 4 kB / 0.8953 GB, free: 9.168 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002415/0.4752, allocations: 59.91 kB / 0.8953 GB, free: 9.109 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001217/0.4764, allocations: 316.8 kB / 0.8956 GB, free: 8.797 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.032e-05/0.4764, allocations: 8 kB / 0.8956 GB, free: 8.789 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001517/0.478, allocations: 0.9425 MB / 0.8965 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.973e-06/0.478, allocations: 7.969 kB / 0.8965 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003553/0.4815, allocations: 1.157 MB / 0.8977 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006689/0.4822, allocations: 263.5 kB / 0.8979 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002779/0.4825, allocations: 8 kB / 0.8979 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001041/0.4836, allocations: 95.8 kB / 0.898 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001126/0.4837, allocations: 35.89 kB / 0.8981 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.247e-05/0.4838, allocations: 23.98 kB / 0.8981 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001544/0.4853, allocations: 0.7469 MB / 0.8988 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.31e-07/0.4853, allocations: 0 / 0.8988 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002047/0.4874, allocations: 0.5692 MB / 0.8994 GB, free: 4.848 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.001027/0.4884, allocations: 394.8 kB / 0.8997 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003016/0.4915, allocations: 1.061 MB / 0.9008 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.4915, allocations: 3.938 kB / 0.9008 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0008559/0.4923, allocations: 339.2 kB / 0.9011 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00263/0.495, allocations: 0.5233 MB / 0.9016 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00404/0.499, allocations: 2.241 MB / 0.9038 GB, free: 268 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007638/0.4998, allocations: 1.062 MB / 0.9048 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001148/0.501, allocations: 236.5 kB / 0.9051 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002109/0.5012, allocations: 83.41 kB / 0.9052 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of SimCode: time 7.91e-07/0.5012, allocations: 0 / 0.9052 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of Templates: time 0.5002/1.001, allocations: 24.52 MB / 0.9291 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)