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.001465/0.001465, allocations: 100.5 kB / 16.27 MB, free: 6.422 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.001553/0.001553, allocations: 190.1 kB / 17.2 MB, free: 5.949 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.44/1.44, allocations: 205.1 MB / 223.1 MB, free: 12.32 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.81/1.81, allocations: 292.3 MB / 0.5495 GB, free: 17.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.00168/0.00168, allocations: 63.91 kB / 0.6722 GB, free: 6.547 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2514/0.2531, allocations: 114.6 MB / 0.784 GB, free: 3.871 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity): time 0.4975/0.7506, allocations: 61.22 MB / 0.8438 GB, free: 8.988 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01598/0.7667, allocations: 11.9 MB / 0.8554 GB, free: 496 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002842/0.7695, allocations: 59.91 kB / 0.8555 GB, free: 472 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002053/0.7717, allocations: 0.6811 MB / 0.8562 GB, free: 24 kB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.006688/0.7784, allocations: 1.953 MB / 0.8581 GB, free: 14.85 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003954/0.7823, allocations: 1.21 MB / 0.8592 GB, free: 14.19 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.005181/0.7875, allocations: 3.063 MB / 0.8622 GB, free: 12.68 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002194/0.7898, allocations: 1.105 MB / 0.8633 GB, free: 12.18 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004072/0.7938, allocations: 1.336 MB / 0.8646 GB, free: 11.52 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002389/0.7963, allocations: 0.907 MB / 0.8655 GB, free: 11.09 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0005554/0.7968, allocations: 116.6 kB / 0.8656 GB, free: 11.09 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004826/0.8017, allocations: 1.463 MB / 0.867 GB, free: 10.6 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0007105/0.8024, allocations: 295 kB / 0.8673 GB, free: 10.41 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001967/0.8044, allocations: 0.6941 MB / 0.868 GB, free: 9.973 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.005557/0.81, allocations: 2.311 MB / 0.8703 GB, free: 8.895 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.81, allocations: 0 / 0.8703 GB, free: 8.895 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.833e-06/0.81, allocations: 1.219 kB / 0.8703 GB, free: 8.895 MB / 0.67 GB Notification: Performance of Transformations before backend: time 6.912e-05/0.8101, allocations: 3.562 kB / 0.8703 GB, free: 8.895 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.00479/0.8149, allocations: 1.742 MB / 0.872 GB, free: 7.547 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.815, allocations: 10.12 kB / 0.872 GB, free: 7.547 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001994/0.817, allocations: 344.8 kB / 0.8723 GB, free: 7.391 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002722/0.8197, allocations: 1.103 MB / 0.8734 GB, free: 6.496 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003922/0.8201, allocations: 123.5 kB / 0.8735 GB, free: 6.441 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000173/0.8203, allocations: 83.47 kB / 0.8736 GB, free: 6.414 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002155/0.8225, allocations: 0.9756 MB / 0.8745 GB, free: 5.773 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.964e-05/0.8225, allocations: 5.188 kB / 0.8745 GB, free: 5.77 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.748e-05/0.8226, allocations: 32.31 kB / 0.8746 GB, free: 5.746 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.913e-05/0.8226, allocations: 18.81 kB / 0.8746 GB, free: 5.746 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002318/0.825, allocations: 0.8238 MB / 0.8754 GB, free: 5.336 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.00763/0.8326, allocations: 4.906 MB / 0.8802 GB, free: 0.9648 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001889/0.8345, allocations: 0.6036 MB / 0.8808 GB, free: 0.6719 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006947/0.8353, allocations: 290.9 kB / 0.881 GB, free: 0.5352 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001575/0.8369, allocations: 1.364 MB / 0.8824 GB, free: 14.96 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.102e-05/0.8369, allocations: 45.89 kB / 0.8824 GB, free: 14.91 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=47): time 2.305e-06/0.8369, allocations: 0 / 0.8824 GB, free: 14.91 MB / 0.6856 GB Notification: Performance of matching and sorting (n=47): time 0.007713/0.8447, allocations: 1.727 MB / 0.8841 GB, free: 14.03 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.513e-05/0.8447, allocations: 57.38 kB / 0.8842 GB, free: 13.97 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002332/0.8471, allocations: 1.079 MB / 0.8852 GB, free: 13.37 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.000127/0.8472, allocations: 37.73 kB / 0.8853 GB, free: 13.33 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005515/0.8478, allocations: 0.5333 MB / 0.8858 GB, free: 12.86 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001983/0.848, allocations: 159.3 kB / 0.8859 GB, free: 12.72 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003199/0.8483, allocations: 144.3 kB / 0.8861 GB, free: 12.63 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.8485, allocations: 339.9 kB / 0.8864 GB, free: 12.3 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009183/0.8494, allocations: 296.7 kB / 0.8867 GB, free: 12.15 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00112/0.8505, allocations: 0.5043 MB / 0.8872 GB, free: 11.73 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001679/0.8522, allocations: 0.6793 MB / 0.8878 GB, free: 11.29 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.907e-06/0.8523, allocations: 2.25 kB / 0.8878 GB, free: 11.29 MB / 0.6856 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.004244/0.8565, allocations: 1.152 MB / 0.889 GB, free: 10.72 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.279e-05/0.8565, allocations: 11.22 kB / 0.889 GB, free: 10.71 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.387e-05/0.8566, allocations: 5.469 kB / 0.889 GB, free: 10.71 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001421/0.858, allocations: 312 kB / 0.8893 GB, free: 10.57 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000568/0.8586, allocations: 129.1 kB / 0.8894 GB, free: 10.54 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001638/0.8602, allocations: 0.9203 MB / 0.8903 GB, free: 9.809 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001522/0.8618, allocations: 146.3 kB / 0.8904 GB, free: 9.73 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001283/0.8619, allocations: 38.33 kB / 0.8905 GB, free: 9.715 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001298/0.8632, allocations: 0.4924 MB / 0.8909 GB, free: 9.422 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001099/0.8643, allocations: 0.4992 MB / 0.8914 GB, free: 9.016 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001672/0.866, allocations: 0.6776 MB / 0.8921 GB, free: 8.566 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.366e-06/0.8661, allocations: 6.219 kB / 0.8921 GB, free: 8.562 MB / 0.6856 GB Notification: Performance of matching and sorting (n=75) (initialization_lambda0): time 0.003894/0.87, allocations: 1.135 MB / 0.8932 GB, free: 8.004 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.87, allocations: 5.469 kB / 0.8932 GB, free: 8.004 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.87, allocations: 9.312 kB / 0.8932 GB, free: 8 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001174/0.8712, allocations: 308 kB / 0.8935 GB, free: 7.855 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000548/0.8718, allocations: 128.2 kB / 0.8936 GB, free: 7.82 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001536/0.8733, allocations: 0.9088 MB / 0.8945 GB, free: 7.102 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001506/0.8748, allocations: 129.8 kB / 0.8947 GB, free: 7.039 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001028/0.8749, allocations: 37.58 kB / 0.8947 GB, free: 7.023 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.0002838/0.8752, allocations: 221.2 kB / 0.8949 GB, free: 6.812 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003675/0.8756, allocations: 112.4 kB / 0.895 GB, free: 6.754 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003432/0.879, allocations: 1.076 MB / 0.8961 GB, free: 6.168 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.712e-05/0.8791, allocations: 9.5 kB / 0.8961 GB, free: 6.164 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.8791, allocations: 0 / 0.8961 GB, free: 6.164 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/0.8791, allocations: 5.297 kB / 0.8961 GB, free: 6.16 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005875/0.885, allocations: 2.127 MB / 0.8981 GB, free: 4.707 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.126e-05/0.885, allocations: 3.406 kB / 0.8982 GB, free: 4.707 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000276/0.8853, allocations: 72.89 kB / 0.8982 GB, free: 4.668 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00109/0.8864, allocations: 306.6 kB / 0.8985 GB, free: 4.367 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.006e-05/0.8865, allocations: 15.92 kB / 0.8985 GB, free: 4.352 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001597/0.8881, allocations: 0.9347 MB / 0.8994 GB, free: 3.391 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/0.8881, allocations: 12.03 kB / 0.8995 GB, free: 3.379 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003997/0.8921, allocations: 1.157 MB / 0.9006 GB, free: 2.172 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007645/0.8929, allocations: 267.5 kB / 0.9008 GB, free: 1.891 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003478/0.8933, allocations: 15.98 kB / 0.9009 GB, free: 1.875 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001025/0.8943, allocations: 63.92 kB / 0.9009 GB, free: 1.812 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001122/0.8945, allocations: 43.89 kB / 0.901 GB, free: 1.77 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.091e-05/0.8945, allocations: 23.98 kB / 0.901 GB, free: 1.746 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001379/0.8959, allocations: 0.7514 MB / 0.9017 GB, free: 0.9883 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.4e-07/0.8959, allocations: 0 / 0.9017 GB, free: 0.9883 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002178/0.8981, allocations: 0.581 MB / 0.9023 GB, free: 416 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.001122/0.8992, allocations: 409.3 kB / 0.9027 GB, free: 8 kB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.003541/0.9028, allocations: 1.118 MB / 0.9038 GB, free: 14.9 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.9028, allocations: 0 / 0.9038 GB, free: 14.9 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0009347/0.9038, allocations: 348.2 kB / 0.9041 GB, free: 14.56 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003089/0.9069, allocations: 0.5332 MB / 0.9046 GB, free: 14.08 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004235/0.9111, allocations: 1.897 MB / 0.9065 GB, free: 12.12 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007859/0.9119, allocations: 1.058 MB / 0.9075 GB, free: 11.03 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003495/0.9123, allocations: 95.34 kB / 0.9076 GB, free: 10.94 MB / 0.7012 GB Notification: Performance of SimCode: time 6.71e-07/0.9123, allocations: 4 kB / 0.9076 GB, free: 10.93 MB / 0.7012 GB Notification: Performance of Templates: time 0.03743/0.9498, allocations: 24.43 MB / 0.9314 GB, free: 2.773 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 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe 2>&1)