Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.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_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow") translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001222/0.001222, allocations: 107.4 kB / 16.38 MB, free: 6.48 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.001421/0.001421, allocations: 189.4 kB / 17.31 MB, free: 5.809 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.495/1.495, allocations: 205.1 MB / 223.2 MB, free: 12.27 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.836/1.836, allocations: 292.3 MB / 0.5496 GB, free: 17.37 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.002323/0.002323, allocations: 67.89 kB / 0.6729 GB, free: 5.848 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2683/0.2706, allocations: 114.5 MB / 0.7848 GB, free: 3.184 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.4372/0.7079, allocations: 61.24 MB / 0.8446 GB, free: 8.832 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01516/0.723, allocations: 11.91 MB / 0.8562 GB, free: 332 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002517/0.7256, allocations: 59.94 kB / 0.8563 GB, free: 308 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001966/0.7277, allocations: 0.6845 MB / 0.857 GB, free: 15.86 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.006142/0.7338, allocations: 1.949 MB / 0.8589 GB, free: 14.69 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003528/0.7374, allocations: 1.214 MB / 0.86 GB, free: 14.03 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.004907/0.7423, allocations: 3.084 MB / 0.8631 GB, free: 12.52 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00193/0.7442, allocations: 1.123 MB / 0.8642 GB, free: 12 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003687/0.7479, allocations: 1.329 MB / 0.8655 GB, free: 11.35 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00165/0.7496, allocations: 0.931 MB / 0.8664 GB, free: 10.91 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001837/0.7498, allocations: 119.7 kB / 0.8665 GB, free: 10.91 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00415/0.7539, allocations: 1.449 MB / 0.8679 GB, free: 10.42 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0003269/0.7543, allocations: 299.2 kB / 0.8682 GB, free: 10.23 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0008788/0.7552, allocations: 0.6992 MB / 0.8689 GB, free: 9.789 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.004145/0.7593, allocations: 2.344 MB / 0.8711 GB, free: 8.527 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.7593, allocations: 1.062 kB / 0.8711 GB, free: 8.527 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.142e-06/0.7593, allocations: 0 / 0.8711 GB, free: 8.527 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.698e-05/0.7594, allocations: 0 / 0.8711 GB, free: 8.527 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.003472/0.7628, allocations: 1.751 MB / 0.8729 GB, free: 7.176 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.7629, allocations: 9.344 kB / 0.8729 GB, free: 7.176 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002562/0.7655, allocations: 456.4 kB / 0.8733 GB, free: 6.973 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002541/0.768, allocations: 1.178 MB / 0.8745 GB, free: 6.027 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.058e-05/0.7681, allocations: 65.09 kB / 0.8745 GB, free: 6 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001138/0.7682, allocations: 83.38 kB / 0.8746 GB, free: 5.973 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002183/0.7704, allocations: 0.996 MB / 0.8756 GB, free: 5.355 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.082e-05/0.7704, allocations: 5.031 kB / 0.8756 GB, free: 5.352 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.757e-05/0.7705, allocations: 31 kB / 0.8756 GB, free: 5.328 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.967e-05/0.7706, allocations: 18.69 kB / 0.8756 GB, free: 5.328 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002581/0.7732, allocations: 0.9337 MB / 0.8765 GB, free: 4.871 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.006374/0.7795, allocations: 4.657 MB / 0.8811 GB, free: 0.7578 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004061/0.7836, allocations: 0.9874 MB / 0.882 GB, free: 272 kB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001036/0.7847, allocations: 413.2 kB / 0.8824 GB, free: 64 kB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009914/0.7857, allocations: 1.016 MB / 0.8834 GB, free: 14.89 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.727e-05/0.7857, allocations: 36.81 kB / 0.8835 GB, free: 14.85 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=53): time 3.036e-06/0.7857, allocations: 4.641 kB / 0.8835 GB, free: 14.84 MB / 0.6856 GB Notification: Performance of matching and sorting (n=53): time 0.00788/0.7936, allocations: 1.907 MB / 0.8853 GB, free: 13.86 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.283e-05/0.7937, allocations: 57 kB / 0.8854 GB, free: 13.79 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001365/0.795, allocations: 0.9537 MB / 0.8863 GB, free: 13.25 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 8.002e-05/0.7951, allocations: 38.05 kB / 0.8864 GB, free: 13.21 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.000399/0.7955, allocations: 0.5068 MB / 0.8868 GB, free: 12.77 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001801/0.7957, allocations: 192.6 kB / 0.887 GB, free: 12.6 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002417/0.796, allocations: 131.9 kB / 0.8872 GB, free: 12.51 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.7961, allocations: 327.3 kB / 0.8875 GB, free: 12.19 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001056/0.7972, allocations: 351.7 kB / 0.8878 GB, free: 12.02 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001219/0.7984, allocations: 0.5032 MB / 0.8883 GB, free: 11.66 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002108/0.8005, allocations: 0.754 MB / 0.889 GB, free: 11.23 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.8005, allocations: 2.062 kB / 0.889 GB, free: 11.23 MB / 0.6856 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003031/0.8036, allocations: 1.046 MB / 0.8901 GB, free: 10.7 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.639e-05/0.8036, allocations: 11.28 kB / 0.8901 GB, free: 10.69 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.8036, allocations: 2.188 kB / 0.8901 GB, free: 10.69 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001223/0.8049, allocations: 309.5 kB / 0.8904 GB, free: 10.55 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006176/0.8055, allocations: 125.8 kB / 0.8905 GB, free: 10.52 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001429/0.8069, allocations: 0.8957 MB / 0.8914 GB, free: 9.797 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001128/0.8081, allocations: 127.6 kB / 0.8915 GB, free: 9.723 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.628e-05/0.8082, allocations: 32.86 kB / 0.8915 GB, free: 9.711 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001359/0.8095, allocations: 0.5494 MB / 0.892 GB, free: 9.387 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00115/0.8107, allocations: 0.5054 MB / 0.8925 GB, free: 9.027 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002023/0.8127, allocations: 0.7472 MB / 0.8933 GB, free: 8.594 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.506e-06/0.8127, allocations: 0.875 kB / 0.8933 GB, free: 8.594 MB / 0.6856 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.002921/0.8157, allocations: 1.048 MB / 0.8943 GB, free: 8.062 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.8157, allocations: 5.812 kB / 0.8943 GB, free: 8.062 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.587e-06/0.8157, allocations: 3.094 kB / 0.8943 GB, free: 8.062 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00108/0.8168, allocations: 299.3 kB / 0.8946 GB, free: 7.918 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006192/0.8174, allocations: 132.6 kB / 0.8947 GB, free: 7.879 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001588/0.819, allocations: 0.8929 MB / 0.8956 GB, free: 7.164 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001385/0.8204, allocations: 109.8 kB / 0.8957 GB, free: 7.105 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.635e-05/0.8205, allocations: 30.23 kB / 0.8957 GB, free: 7.098 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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.0003352/0.8209, allocations: 219 kB / 0.8959 GB, free: 6.887 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002449/0.8211, allocations: 110.9 kB / 0.896 GB, free: 6.828 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003511/0.8246, allocations: 1.138 MB / 0.8971 GB, free: 6.207 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.837e-06/0.8246, allocations: 0 / 0.8971 GB, free: 6.207 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.8247, allocations: 1.312 kB / 0.8971 GB, free: 6.207 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006302/0.8253, allocations: 274.4 kB / 0.8974 GB, free: 5.961 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001565/0.8255, allocations: 18.91 kB / 0.8974 GB, free: 5.945 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008026/0.8263, allocations: 76.72 kB / 0.8975 GB, free: 5.91 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/0.8264, allocations: 30.8 kB / 0.8975 GB, free: 5.895 MB / 0.6856 GB Error: Internal error IndexReduction.pantelidesIndexReduction failed! System is structurally singular and cannot be handled because the number of unassigned equations is larger than the number of states. Use -d=bltdump to get more information. Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003385/0.8298, allocations: 0.8865 MB / 0.8984 GB, free: 5.055 MB / 0.6856 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow could not be translated