Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_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.HeatPumps.Validation.Carnot_TCon_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 104.3 kB / 16.36 MB, free: 6.312 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.001035/0.001035, allocations: 190.5 kB / 17.3 MB, free: 5.871 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.337/1.337, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.743/1.743, allocations: 292.3 MB / 0.5496 GB, free: 17.57 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.00146/0.00146, allocations: 71.89 kB / 0.6729 GB, free: 5.766 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2111/0.2126, allocations: 114.6 MB / 0.7848 GB, free: 3.102 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.3796/0.5923, allocations: 61.25 MB / 0.8446 GB, free: 8.805 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01457/0.6069, allocations: 11.9 MB / 0.8562 GB, free: 304 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002243/0.6092, allocations: 59.41 kB / 0.8563 GB, free: 280 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001908/0.6111, allocations: 0.6806 MB / 0.8569 GB, free: 15.84 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.006322/0.6175, allocations: 1.951 MB / 0.8588 GB, free: 14.67 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003443/0.6209, allocations: 1.215 MB / 0.86 GB, free: 14.01 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.004734/0.6257, allocations: 3.071 MB / 0.863 GB, free: 12.5 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001824/0.6275, allocations: 1.114 MB / 0.8641 GB, free: 12 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003282/0.6308, allocations: 1.336 MB / 0.8654 GB, free: 11.34 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001533/0.6324, allocations: 0.9107 MB / 0.8663 GB, free: 10.91 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0002021/0.6326, allocations: 116 kB / 0.8664 GB, free: 10.91 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003421/0.636, allocations: 1.455 MB / 0.8678 GB, free: 10.42 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0003313/0.6364, allocations: 303.7 kB / 0.8681 GB, free: 10.22 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.000891/0.6373, allocations: 0.6954 MB / 0.8688 GB, free: 9.789 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.003894/0.6412, allocations: 2.328 MB / 0.8711 GB, free: 8.543 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.6412, allocations: 0 / 0.8711 GB, free: 8.543 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.442e-06/0.6412, allocations: 1.5 kB / 0.8711 GB, free: 8.543 MB / 0.67 GB Notification: Performance of Transformations before backend: time 2.433e-05/0.6412, allocations: 0 / 0.8711 GB, free: 8.543 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.003301/0.6445, allocations: 1.741 MB / 0.8728 GB, free: 7.195 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.6446, allocations: 9.531 kB / 0.8728 GB, free: 7.195 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002246/0.6468, allocations: 403 kB / 0.8732 GB, free: 7.016 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002223/0.6491, allocations: 1.175 MB / 0.8743 GB, free: 6.078 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.948e-05/0.6491, allocations: 64.19 kB / 0.8744 GB, free: 6.047 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001183/0.6493, allocations: 79.56 kB / 0.8745 GB, free: 6.023 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002076/0.6514, allocations: 1.005 MB / 0.8754 GB, free: 5.359 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.805e-05/0.6514, allocations: 4.906 kB / 0.8754 GB, free: 5.355 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.239e-05/0.6515, allocations: 35.64 kB / 0.8755 GB, free: 5.328 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.763e-05/0.6515, allocations: 19.09 kB / 0.8755 GB, free: 5.328 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002397/0.6539, allocations: 0.8739 MB / 0.8764 GB, free: 4.895 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.006767/0.6607, allocations: 4.971 MB / 0.8812 GB, free: 484 kB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003589/0.6643, allocations: 0.826 MB / 0.882 GB, free: 56 kB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008142/0.6651, allocations: 317 kB / 0.8823 GB, free: 15.9 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006683/0.6658, allocations: 0.9043 MB / 0.8832 GB, free: 14.84 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.096e-05/0.6659, allocations: 41.12 kB / 0.8832 GB, free: 14.79 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=48): time 2.705e-06/0.6659, allocations: 1.094 kB / 0.8832 GB, free: 14.79 MB / 0.6856 GB Notification: Performance of matching and sorting (n=48): time 0.008928/0.6748, allocations: 1.909 MB / 0.8851 GB, free: 13.82 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.6749, allocations: 60.44 kB / 0.8852 GB, free: 13.75 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001686/0.6766, allocations: 1.074 MB / 0.8862 GB, free: 13.15 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 8.122e-05/0.6766, allocations: 38.67 kB / 0.8863 GB, free: 13.11 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004264/0.6771, allocations: 0.5253 MB / 0.8868 GB, free: 12.64 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001586/0.6772, allocations: 170.9 kB / 0.8869 GB, free: 12.5 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000256/0.6775, allocations: 146.2 kB / 0.8871 GB, free: 12.41 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.6776, allocations: 336 kB / 0.8874 GB, free: 12.08 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009513/0.6786, allocations: 316.5 kB / 0.8877 GB, free: 11.92 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001152/0.6798, allocations: 0.5343 MB / 0.8882 GB, free: 11.49 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001786/0.6816, allocations: 0.7236 MB / 0.8889 GB, free: 11.02 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.598e-06/0.6816, allocations: 5.219 kB / 0.8889 GB, free: 11.02 MB / 0.6856 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.003857/0.6855, allocations: 1.19 MB / 0.8901 GB, free: 10.42 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.272e-05/0.6855, allocations: 7.875 kB / 0.8901 GB, free: 10.42 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/0.6855, allocations: 7.594 kB / 0.8901 GB, free: 10.41 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001294/0.6868, allocations: 308.4 kB / 0.8904 GB, free: 10.27 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006251/0.6875, allocations: 137.4 kB / 0.8905 GB, free: 10.23 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001515/0.689, allocations: 0.9071 MB / 0.8914 GB, free: 9.508 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001388/0.6904, allocations: 151.7 kB / 0.8916 GB, free: 9.426 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.118e-05/0.6905, allocations: 32.48 kB / 0.8916 GB, free: 9.418 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001274/0.6918, allocations: 0.5266 MB / 0.8921 GB, free: 9.102 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001157/0.6929, allocations: 0.535 MB / 0.8926 GB, free: 8.672 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001734/0.6947, allocations: 0.7195 MB / 0.8933 GB, free: 8.199 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.298e-06/0.6947, allocations: 2.156 kB / 0.8933 GB, free: 8.199 MB / 0.6856 GB Notification: Performance of matching and sorting (n=75) (initialization_lambda0): time 0.003586/0.6983, allocations: 1.17 MB / 0.8945 GB, free: 7.613 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.6983, allocations: 6.906 kB / 0.8945 GB, free: 7.613 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.6983, allocations: 5.125 kB / 0.8945 GB, free: 7.613 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001073/0.6994, allocations: 307.4 kB / 0.8948 GB, free: 7.469 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005674/0.7, allocations: 132.8 kB / 0.8949 GB, free: 7.434 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001378/0.7014, allocations: 0.8952 MB / 0.8958 GB, free: 6.715 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001341/0.7027, allocations: 138.9 kB / 0.8959 GB, free: 6.645 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.856e-05/0.7028, allocations: 35.36 kB / 0.8959 GB, free: 6.633 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.7031, allocations: 217.5 kB / 0.8961 GB, free: 6.426 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001954/0.7033, allocations: 117.6 kB / 0.8963 GB, free: 6.363 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00394/0.7072, allocations: 1.145 MB / 0.8974 GB, free: 5.73 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.236e-06/0.7073, allocations: 0 / 0.8974 GB, free: 5.73 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.7073, allocations: 0 / 0.8974 GB, free: 5.73 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004742/0.7077, allocations: 271.5 kB / 0.8976 GB, free: 5.488 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001421/0.7079, allocations: 10.66 kB / 0.8976 GB, free: 5.48 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007753/0.7087, allocations: 67.64 kB / 0.8977 GB, free: 5.449 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.114e-05/0.7088, allocations: 34.78 kB / 0.8977 GB, free: 5.43 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.002758/0.7115, allocations: 0.7838 MB / 0.8985 GB, free: 4.742 MB / 0.6856 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL could not be translated