Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL.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_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL") translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001797/0.001797, allocations: 104 kB / 16.37 MB, free: 6.363 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.001999/0.001999, allocations: 191.8 kB / 17.3 MB, free: 5.898 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.544/1.544, 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.899/1.899, allocations: 292.3 MB / 0.5496 GB, free: 17.45 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.001735/0.001735, allocations: 70.25 kB / 0.6729 GB, free: 5.852 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2414/0.2432, allocations: 114.5 MB / 0.7848 GB, free: 3.188 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL): time 0.4977/0.7409, allocations: 61.24 MB / 0.8446 GB, free: 8.91 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02357/0.7645, allocations: 11.9 MB / 0.8562 GB, free: 408 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003178/0.7677, allocations: 60.03 kB / 0.8563 GB, free: 384 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002576/0.7704, allocations: 0.6767 MB / 0.8569 GB, free: 15.94 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.007792/0.7782, allocations: 1.952 MB / 0.8588 GB, free: 14.77 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004301/0.7825, allocations: 1.216 MB / 0.86 GB, free: 14.11 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.006426/0.789, allocations: 3.07 MB / 0.863 GB, free: 12.61 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002717/0.7917, allocations: 1.105 MB / 0.8641 GB, free: 12.11 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00529/0.797, allocations: 1.335 MB / 0.8654 GB, free: 11.45 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003083/0.8001, allocations: 0.91 MB / 0.8663 GB, free: 11.02 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0006549/0.8008, allocations: 116.8 kB / 0.8664 GB, free: 11.02 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005904/0.8067, allocations: 1.486 MB / 0.8678 GB, free: 10.52 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.000827/0.8076, allocations: 291 kB / 0.8681 GB, free: 10.33 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.002568/0.8102, allocations: 0.7048 MB / 0.8688 GB, free: 9.887 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.007479/0.8177, allocations: 2.345 MB / 0.8711 GB, free: 8.621 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.8177, allocations: 0 / 0.8711 GB, free: 8.621 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.254e-06/0.8177, allocations: 0 / 0.8711 GB, free: 8.621 MB / 0.67 GB Notification: Performance of Transformations before backend: time 8.806e-05/0.8178, allocations: 0 / 0.8711 GB, free: 8.621 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.005903/0.8237, allocations: 1.753 MB / 0.8728 GB, free: 7.266 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.197e-05/0.8238, allocations: 8.062 kB / 0.8728 GB, free: 7.266 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002007/0.8258, allocations: 345.9 kB / 0.8732 GB, free: 7.109 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002849/0.8286, allocations: 1.171 MB / 0.8743 GB, free: 6.176 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.086e-05/0.8287, allocations: 60.94 kB / 0.8744 GB, free: 6.148 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001657/0.8289, allocations: 83.69 kB / 0.8744 GB, free: 6.121 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002161/0.8311, allocations: 0.9718 MB / 0.8754 GB, free: 5.477 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.963e-05/0.8311, allocations: 1.188 kB / 0.8754 GB, free: 5.477 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.182e-05/0.8312, allocations: 35.91 kB / 0.8754 GB, free: 5.449 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.482e-05/0.8312, allocations: 19.09 kB / 0.8754 GB, free: 5.449 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002182/0.8334, allocations: 0.8119 MB / 0.8762 GB, free: 5.051 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.00764/0.8411, allocations: 4.87 MB / 0.881 GB, free: 0.7031 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001672/0.8428, allocations: 0.608 MB / 0.8816 GB, free: 408 kB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006706/0.8435, allocations: 287.8 kB / 0.8819 GB, free: 268 kB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001606/0.8451, allocations: 1.362 MB / 0.8832 GB, free: 14.7 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.793e-05/0.8451, allocations: 42.06 kB / 0.8832 GB, free: 14.65 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=48): time 3.927e-06/0.8451, allocations: 7.984 kB / 0.8832 GB, free: 14.64 MB / 0.6856 GB Notification: Performance of matching and sorting (n=48): time 0.006353/0.8515, allocations: 1.552 MB / 0.8847 GB, free: 13.84 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001033/0.8516, allocations: 61.06 kB / 0.8848 GB, free: 13.77 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001799/0.8534, allocations: 1.076 MB / 0.8859 GB, free: 13.17 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 9.111e-05/0.8535, allocations: 41.94 kB / 0.8859 GB, free: 13.13 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004538/0.854, allocations: 0.5252 MB / 0.8864 GB, free: 12.66 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001597/0.8542, allocations: 167 kB / 0.8866 GB, free: 12.52 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003295/0.8545, allocations: 146.1 kB / 0.8867 GB, free: 12.43 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001686/0.8547, allocations: 334.8 kB / 0.887 GB, free: 12.1 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008691/0.8556, allocations: 291 kB / 0.8873 GB, free: 11.96 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00107/0.8566, allocations: 0.4895 MB / 0.8878 GB, free: 11.56 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00157/0.8582, allocations: 0.6725 MB / 0.8884 GB, free: 11.12 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.354e-06/0.8582, allocations: 5.094 kB / 0.8884 GB, free: 11.11 MB / 0.6856 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.002717/0.861, allocations: 0.9779 MB / 0.8894 GB, free: 10.62 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/0.861, allocations: 8.469 kB / 0.8894 GB, free: 10.62 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/0.861, allocations: 7.375 kB / 0.8894 GB, free: 10.61 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001351/0.8624, allocations: 299.2 kB / 0.8897 GB, free: 10.48 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005294/0.8629, allocations: 134.1 kB / 0.8898 GB, free: 10.44 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001495/0.8644, allocations: 0.9025 MB / 0.8907 GB, free: 9.719 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001445/0.8659, allocations: 147.2 kB / 0.8909 GB, free: 9.637 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001094/0.866, allocations: 31.11 kB / 0.8909 GB, free: 9.629 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001269/0.8673, allocations: 0.4983 MB / 0.8914 GB, free: 9.328 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001089/0.8684, allocations: 0.4922 MB / 0.8918 GB, free: 8.93 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001713/0.8701, allocations: 0.6646 MB / 0.8925 GB, free: 8.492 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.233e-06/0.8701, allocations: 1.594 kB / 0.8925 GB, free: 8.492 MB / 0.6856 GB Notification: Performance of matching and sorting (n=75) (initialization_lambda0): time 0.003081/0.8732, allocations: 0.9759 MB / 0.8935 GB, free: 7.996 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.8733, allocations: 6.906 kB / 0.8935 GB, free: 7.996 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.868e-06/0.8733, allocations: 4.375 kB / 0.8935 GB, free: 7.996 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001154/0.8744, allocations: 300.9 kB / 0.8937 GB, free: 7.855 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000535/0.875, allocations: 126.4 kB / 0.8939 GB, free: 7.824 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001571/0.8766, allocations: 0.8996 MB / 0.8947 GB, free: 7.105 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001501/0.8781, allocations: 127 kB / 0.8949 GB, free: 7.043 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001055/0.8782, allocations: 36.45 kB / 0.8949 GB, free: 7.031 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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.0003254/0.8785, allocations: 223.2 kB / 0.8951 GB, free: 6.816 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004157/0.879, allocations: 117.6 kB / 0.8952 GB, free: 6.754 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003404/0.8824, allocations: 1.037 MB / 0.8962 GB, free: 6.191 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.009e-05/0.8824, allocations: 3.984 kB / 0.8962 GB, free: 6.188 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.8824, allocations: 7.938 kB / 0.8963 GB, free: 6.18 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007326/0.8831, allocations: 262.7 kB / 0.8965 GB, free: 5.945 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003671/0.8835, allocations: 13.88 kB / 0.8965 GB, free: 5.934 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009532/0.8845, allocations: 65.55 kB / 0.8966 GB, free: 5.902 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/0.8846, allocations: 31.33 kB / 0.8966 GB, free: 5.887 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.002815/0.8874, allocations: 0.7574 MB / 0.8973 GB, free: 5.477 MB / 0.6856 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL could not be translated