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.001342/0.001342, allocations: 106.4 kB / 16.29 MB, free: 6.43 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.00117/0.00117, allocations: 187.9 kB / 17.22 MB, free: 5.934 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.582/1.582, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.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.895/1.895, allocations: 292.3 MB / 0.5495 GB, free: 17.55 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.001383/0.001383, allocations: 71.89 kB / 0.6722 GB, free: 6.469 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2763/0.2777, allocations: 114.5 MB / 0.7841 GB, free: 3.809 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity): time 0.6334/0.9112, allocations: 61.23 MB / 0.8439 GB, free: 9.016 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01872/0.93, allocations: 11.9 MB / 0.8555 GB, free: 0.5195 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004115/0.9341, allocations: 63.72 kB / 0.8555 GB, free: 0.4922 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002739/0.9369, allocations: 0.6798 MB / 0.8562 GB, free: 56 kB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.007791/0.9447, allocations: 1.951 MB / 0.8581 GB, free: 14.89 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004452/0.9492, allocations: 1.228 MB / 0.8593 GB, free: 14.22 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.006544/0.9558, allocations: 3.076 MB / 0.8623 GB, free: 12.7 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002172/0.958, allocations: 1.1 MB / 0.8634 GB, free: 12.21 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003991/0.962, allocations: 1.343 MB / 0.8647 GB, free: 11.55 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001833/0.9638, allocations: 0.9037 MB / 0.8656 GB, free: 11.12 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.000208/0.964, allocations: 116.4 kB / 0.8657 GB, free: 11.12 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004108/0.9682, allocations: 1.464 MB / 0.8671 GB, free: 10.63 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0004171/0.9686, allocations: 294.5 kB / 0.8674 GB, free: 10.44 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.00109/0.9697, allocations: 0.7017 MB / 0.8681 GB, free: 10 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.004588/0.9743, allocations: 2.332 MB / 0.8704 GB, free: 8.836 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.9743, allocations: 0 / 0.8704 GB, free: 8.836 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.463e-06/0.9743, allocations: 0 / 0.8704 GB, free: 8.836 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.49e-05/0.9743, allocations: 0 / 0.8704 GB, free: 8.836 MB / 0.67 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.003421/0.9778, allocations: 1.742 MB / 0.8721 GB, free: 7.488 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.9778, allocations: 9.625 kB / 0.8721 GB, free: 7.488 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001637/0.9794, allocations: 345.1 kB / 0.8724 GB, free: 7.332 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002143/0.9816, allocations: 1.103 MB / 0.8735 GB, free: 6.438 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000332/0.982, allocations: 121.6 kB / 0.8736 GB, free: 6.383 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001196/0.9821, allocations: 79.53 kB / 0.8737 GB, free: 6.359 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001981/0.9841, allocations: 0.9721 MB / 0.8746 GB, free: 5.723 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.168e-05/0.9841, allocations: 3.938 kB / 0.8746 GB, free: 5.719 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.802e-05/0.9842, allocations: 36.98 kB / 0.8747 GB, free: 5.691 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.308e-05/0.9842, allocations: 19.28 kB / 0.8747 GB, free: 5.691 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002097/0.9863, allocations: 0.8278 MB / 0.8755 GB, free: 5.277 MB / 0.67 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.007242/0.9936, allocations: 4.871 MB / 0.8802 GB, free: 0.9258 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001673/0.9953, allocations: 0.6105 MB / 0.8808 GB, free: 0.625 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006861/0.996, allocations: 293.7 kB / 0.8811 GB, free: 496 kB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00145/0.9974, allocations: 1.369 MB / 0.8825 GB, free: 14.91 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.745e-05/0.9975, allocations: 37.97 kB / 0.8825 GB, free: 14.87 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=47): time 2.234e-06/0.9975, allocations: 0 / 0.8825 GB, free: 14.87 MB / 0.6856 GB Notification: Performance of matching and sorting (n=47): time 0.007089/1.005, allocations: 1.727 MB / 0.8842 GB, free: 13.98 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.86e-05/1.005, allocations: 56.34 kB / 0.8842 GB, free: 13.92 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001924/1.007, allocations: 1.078 MB / 0.8853 GB, free: 13.32 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 9.659e-05/1.007, allocations: 38.83 kB / 0.8853 GB, free: 13.29 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005614/1.007, allocations: 0.5361 MB / 0.8858 GB, free: 12.81 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.000175/1.007, allocations: 163.1 kB / 0.886 GB, free: 12.67 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002778/1.008, allocations: 141.2 kB / 0.8861 GB, free: 12.58 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001479/1.008, allocations: 332 kB / 0.8865 GB, free: 12.26 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008119/1.009, allocations: 308.7 kB / 0.8867 GB, free: 12.1 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001015/1.01, allocations: 0.5006 MB / 0.8872 GB, free: 11.69 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00159/1.011, allocations: 0.6806 MB / 0.8879 GB, free: 11.24 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.063e-06/1.011, allocations: 1.062 kB / 0.8879 GB, free: 11.24 MB / 0.6856 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.003766/1.015, allocations: 1.15 MB / 0.889 GB, free: 10.67 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.585e-05/1.015, allocations: 7.844 kB / 0.889 GB, free: 10.67 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.39e-05/1.015, allocations: 4.531 kB / 0.889 GB, free: 10.67 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001298/1.016, allocations: 316 kB / 0.8893 GB, free: 10.52 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005071/1.017, allocations: 125.6 kB / 0.8895 GB, free: 10.49 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001504/1.019, allocations: 0.919 MB / 0.8904 GB, free: 9.762 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001471/1.02, allocations: 145 kB / 0.8905 GB, free: 9.684 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.995e-05/1.02, allocations: 39.89 kB / 0.8905 GB, free: 9.668 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001173/1.021, allocations: 0.492 MB / 0.891 GB, free: 9.375 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001012/1.022, allocations: 0.5026 MB / 0.8915 GB, free: 8.965 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001585/1.024, allocations: 0.6701 MB / 0.8922 GB, free: 8.523 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.242e-06/1.024, allocations: 1.094 kB / 0.8922 GB, free: 8.523 MB / 0.6856 GB Notification: Performance of matching and sorting (n=75) (initialization_lambda0): time 0.003677/1.028, allocations: 1.147 MB / 0.8933 GB, free: 7.953 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/1.028, allocations: 5.781 kB / 0.8933 GB, free: 7.953 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/1.028, allocations: 5.406 kB / 0.8933 GB, free: 7.953 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001125/1.029, allocations: 310.8 kB / 0.8936 GB, free: 7.809 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005158/1.029, allocations: 131.8 kB / 0.8937 GB, free: 7.77 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001488/1.031, allocations: 0.9064 MB / 0.8946 GB, free: 7.051 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00145/1.032, allocations: 126 kB / 0.8947 GB, free: 6.988 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.664e-05/1.032, allocations: 30.98 kB / 0.8947 GB, free: 6.98 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (61): * Single equations (assignments): 60 * 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.0003291/1.033, allocations: 230.8 kB / 0.895 GB, free: 6.762 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003648/1.033, allocations: 111.4 kB / 0.8951 GB, free: 6.703 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003319/1.036, allocations: 1.061 MB / 0.8961 GB, free: 6.129 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.187e-05/1.036, allocations: 9.281 kB / 0.8961 GB, free: 6.125 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/1.036, allocations: 0 / 0.8961 GB, free: 6.125 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.02e-05/1.036, allocations: 5.234 kB / 0.8961 GB, free: 6.121 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005525/1.042, allocations: 2.131 MB / 0.8982 GB, free: 4.664 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.17e-05/1.042, allocations: 2.281 kB / 0.8982 GB, free: 4.664 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002474/1.042, allocations: 66.95 kB / 0.8983 GB, free: 4.621 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001036/1.043, allocations: 300.9 kB / 0.8986 GB, free: 4.328 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.459e-05/1.043, allocations: 23.92 kB / 0.8986 GB, free: 4.305 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001435/1.045, allocations: 0.9445 MB / 0.8995 GB, free: 3.336 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/1.045, allocations: 4.875 kB / 0.8995 GB, free: 3.332 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003445/1.048, allocations: 1.157 MB / 0.9006 GB, free: 2.125 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008418/1.049, allocations: 263.5 kB / 0.9009 GB, free: 1.848 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004097/1.05, allocations: 19.98 kB / 0.9009 GB, free: 1.828 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001098/1.051, allocations: 63.94 kB / 0.901 GB, free: 1.766 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001232/1.051, allocations: 47.81 kB / 0.901 GB, free: 1.719 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.506e-05/1.051, allocations: 23.98 kB / 0.901 GB, free: 1.695 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001554/1.052, allocations: 0.7514 MB / 0.9018 GB, free: 0.9375 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.8e-07/1.053, allocations: 4 kB / 0.9018 GB, free: 0.9336 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.00267/1.055, allocations: 0.5849 MB / 0.9023 GB, free: 356 kB / 0.6856 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.001313/1.057, allocations: 398.8 kB / 0.9027 GB, free: 15.96 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.003139/1.06, allocations: 1.095 MB / 0.9038 GB, free: 14.88 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/1.06, allocations: 4.375 kB / 0.9038 GB, free: 14.87 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0008949/1.061, allocations: 347.2 kB / 0.9041 GB, free: 14.53 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002746/1.063, allocations: 0.527 MB / 0.9046 GB, free: 14.05 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004016/1.067, allocations: 1.832 MB / 0.9064 GB, free: 12.16 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008171/1.068, allocations: 1.066 MB / 0.9075 GB, free: 11.07 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001012/1.069, allocations: 234.1 kB / 0.9077 GB, free: 10.85 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002863/1.07, allocations: 87.41 kB / 0.9078 GB, free: 10.77 MB / 0.7012 GB Notification: Performance of SimCode: time 3.126e-06/1.07, allocations: 0 / 0.9078 GB, free: 10.77 MB / 0.7012 GB Notification: Performance of Templates: time 0.05186/1.121, allocations: 25.74 MB / 0.9329 GB, free: 1.445 MB / 0.7169 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe 2>&1)